TextEditorHighlightingPass (@NotNull PsiFile file, @NotNull Editor editor) { return new EditorBoundHighlightingPass(editor, file, false) { @Override public void doCollectInformation(@NotNull ProgressIndicator progress) { collected.add(SmartFac.this); } @Override public void doApplyInformationToEditor() { applied.add(SmartFac.this); } }; }