Restore Search result folding's old behaviour
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11814#issuecomment-1175359785pull/11876/head
parent
5bab2b5746
commit
c63169eabc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue