@Override
  public @Nullable TextEditorHighlightingPass createHighlightingPass(@NotNull PsiFile file, @NotNull Editor editor) {
    return isEnabled() && (EditorUtil.isRealFileEditor(editor) || ApplicationManager.getApplication().isUnitTestMode()) && editor instanceof EditorImpl
           ? new FocusModePass(editor, file)
           : null;
  }
@Override
  public @Nullable TextEditorHighlightingPass createHighlightingPass(@NotNull PsiFile file, @NotNull Editor editor)