List<TextRange> (@NotNull PsiElement elementAtCursor) { TokenSet keywordElementTypes = getKeywordElementTypes(); if (!keywordElementTypes.contains(PsiUtilCore.getElementType(elementAtCursor))) { return Collections.emptyList(); } final PsiElement rootElement = getParentByTokenSet(elementAtCursor, getTopLevelElementTypes()); if (rootElement == null) { return Collections.emptyList(); } return computeMarkersRanges(rootElement, keywordElementTypes); }