void FindInFilesDialog::DoSearchReplace() { SearchData data = DoGetSearchData(); data.SetOwner(clMainFrame::Get()->GetOutputPane()->GetReplaceResultsTab()); DoSaveOpenFiles(); SearchThreadST::Get()->PerformSearch(data); Close(); }
void FindInFilesDialog::DoSearch() { SearchData data = DoGetSearchData(); data.SetOwner(clMainFrame::Get()->GetOutputPane()->GetFindResultsTab()); // check to see if we require to save the files DoSaveOpenFiles(); SearchThreadST::Get()->PerformSearch(data); Close(); }
void TaskPanel::OnSearch(wxCommandEvent& e) { wxUnusedVar(e); SearchData sd = DoGetSearchData(); SearchThreadST::Get()->PerformSearch(sd); }