TextEditorHighlightingPass (@NotNull PsiFile file, @NotNull Editor editor) { TextRange textRange = FileStatusMap.getDirtyTextRange(editor.getDocument(), file, Pass.UPDATE_ALL); if (textRange == null) return null; return new MyPass(myProject); }