void (CloseSearchTask caller, IOException e) { ApplicationManager.getApplication().invokeLater(() -> { if (!caller.isShouldStop()) { setNewStatusText(EditorBundle.message("large.file.editor.message.search.stopped.because.something.went.wrong")); } }); }