boolean (@NotNull LargeFileEditor largeFileEditor, @NotNull Editor editor, @NotNull Caret caret, DataContext dataContext) { LfeSearchManager searchManager = largeFileEditor.getSearchManager(); CloseSearchTask task = searchManager.getLastExecutedCloseSearchTask(); return task == null || task.isFinished(); }