TextRange () { final PsiElement element = getSeparator(); final int length = getTextLength(); return element == null ? TextRange.from(0, length) : new TextRange(element.getStartOffsetInParent() + element.getTextLength(), length); }