List<TextRange> (@NotNull PsiElement e, @NotNull CharSequence editorText, int cursorOffset, @NotNull Editor editor) { TextRange elem = e.getTextRange(); if (elem.getLength() > 2) { return new SmartList<>( new TextRange(elem.getStartOffset() + 1, elem.getEndOffset() - 1) ); } return Collections.emptyList(); }