Editor (@NotNull final DataContext dataContext, @NotNull final Project project, boolean forUpdate) { Editor editor = getBaseEditor(dataContext, project); if (!myLookForInjectedEditor) return editor; return getInjectedEditor(project, editor, !forUpdate); }