TextRange () { final ASTNode nameNode = getNode().findChildByType(RegExpTT.NAME); assert nameNode != null; final int startOffset = getNode().getFirstChildNode().getTextLength(); return new TextRange(startOffset, startOffset + nameNode.getTextLength()); }