SourceSection section = node.getSourceSection(); int startIndex = section.getCharIndex(); int endIndex = getCharEndIndex(section); if (startIndex <= offset && offset <= endIndex) { Node parent = findParentTaggedNode(node, tags);
SourceSection section = node.getSourceSection(); int startIndex = section.getCharIndex(); int endIndex = getCharEndIndex(section); if (startIndex <= offset && offset <= endIndex) { Node parent = findParentTaggedNode(node, tags);