void (@NotNull Editor editor, @Nullable Caret caret, DataContext dataContext) { final Project project = dataContext.getData(CommonDataKeys.PROJECT); if (project == null) return; PsiDocumentManager.getInstance(project).commitAllDocuments(); IdeDocumentHistory.getInstance(project).includeCurrentCommandAsNavigation(); FindManager findManager = FindManager.getInstance(project); if (!findManager.selectNextOccurrenceWasPerformed() && findManager.findNextUsageInEditor(editor)) { return; } FindUtil.searchAgain(project, editor, dataContext); }