void () { try { FileDataProviderForSearch fileDataProviderForSearch = myRangeSearchCallback.getFileDataProviderForSearch(false, myProject, myVirtualFile); if (fileDataProviderForSearch != null) { myShowingListModel.setSearchFurtherBtnsEnabled( false, canFindFurtherBackward()); myShowingListModel.setSearchFurtherBtnsEnabled( true, canFindFurtherForward(fileDataProviderForSearch)); } else { myShowingListModel.setSearchFurtherBtnsEnabled(false, false); myShowingListModel.setSearchFurtherBtnsEnabled(true, false); } } catch (IOException e) { logger.info(e); Messages.showWarningDialog(EditorBundle.message("large.file.editor.message.working.with.file.error"), CommonBundle.getErrorTitle()); } updateTabName(); updateStatusStringInfo(); myActionToolbar.updateActionsImmediately(); SwingUtilities.updateComponentTreeUI(myShowingResultsList); progressIcon.update(); }