EditorWindow (@NotNull Editor e, @NotNull Caret caret) { Object editor = getSlowData(InjectedDataKeys.EDITOR.getName(), e, caret); return editor instanceof EditorWindow ? (EditorWindow)editor : null; }