Given offset, find its leaf node in document
Leaf? queryNode(int offset) { return document.querySegmentLeafNode(offset).leaf; }