void (SearchTaskOptions options) { if (StringUtil.isEmpty(options.stringToFind)) { return; } stopSearchTaskIfItExists(); showRegexSearchWarningIfNeed(); lastExecutedCloseSearchTask = new CloseSearchTask( options, largeFileEditor.getProject(), fileDataProviderForSearch, this); ApplicationManager.getApplication().executeOnPooledThread(lastExecutedCloseSearchTask); }