boolean (@NotNull Editor editor, @NotNull Caret caret, DataContext dataContext) { Project project = dataContext.getData(CommonDataKeys.PROJECT); if (project == null) { return false; } return !editor.isOneLineMode() && !SEARCH_DISABLED.get(editor, false); }