Don Ho 2022-07-06 01:53:17 +02:00
parent 5bab2b5746
commit c63169eabc
1 changed files with 2 additions and 2 deletions

View File

@ -4576,8 +4576,8 @@ void Finder::beginNewFilesSearch()
_pMainMarkings = _pMainMarkings == &_markings1 ? &_markings2 : &_markings1;
_nbFoundFiles = 0;
if (_scintView.execute(SCI_GETFOLDEXPANDED, 0))
_scintView.execute(SCI_TOGGLEFOLD, 0);
// fold all old searches (1st level only)
_scintView.collapse(searchHeaderLevel - SC_FOLDLEVELBASE, fold_collapse);
}
void Finder::finishFilesSearch(int count, int searchedCount, bool isMatchLines, bool searchedEntireNotSelection)