Make 'Purge for each search' respect 'In selection' for 'Mark All' op

Fix #7663, close #7664
This commit is contained in:
Scott Sumner 2019-11-25 11:16:21 -05:00 committed by Don HO
parent f44c357999
commit c858a2ab5d
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E

View File

@ -1982,9 +1982,7 @@ int FindReplaceDlg::processRange(ProcessOperation op, FindReplaceInfo & findRepl
if (op == ProcessMarkAll && colourStyleID == -1) //if marking, check if purging is needed
{
if (_env->_doPurge) {
pEditView->clearIndicator(SCE_UNIVERSAL_FOUND_STYLE);
if (_env->_doMarkLine)
pEditView->execute(SCI_MARKERDELETEALL, MARK_BOOKMARK);
clearMarks(*_env);
}
}