List<TextRange> (@Nullable PsiFile psiFile, @NotNull Language language, int offset) { if (psiFile == null) { return Collections.emptyList(); } return findMarkersRanges(psiFile.getViewProvider().findElementAt(offset, language)); }