void () { final Editor editor = InjectedLanguageEditorUtil.getTopLevelEditor(myEditor); if (editor == FileEditorManager.getInstance(myProject).getSelectedTextEditor() && editor instanceof EditorImpl) { ((EditorImpl)editor).startDumb(); } revertState(); }