TextEditorHighlightingPass (@NotNull PsiFile file, @NotNull Document document, @NotNull HighlightInfoProcessor highlightInfoProcessor) { // no applying to the editor - for read-only analysis only return new GeneralHighlightingPass(file, document, 0, file.getTextLength(), true, new ProperTextRange(0, document.getTextLength()), null, highlightInfoProcessor); }