+fix: mark all occurrences: move caret to end of main selection

This commit is contained in:
METANEOCORTEX\Kotti 2022-02-17 13:44:07 +01:00
parent 86095a1660
commit eec7dda00f

View File

@ -7688,6 +7688,9 @@ void EditMarkAll(LPCWSTR wchFind, int sFlags, DocPos rangeStart, DocPos rangeEnd
};
Globals.iMarkOccurrencesCount = count;
if (count > 0) {
SciCall_SetSelectionNCaret(SciCall_GetMainSelection(), SciCall_GetSelectionNEnd(SciCall_GetMainSelection()));
}
}
EndWaitCursor();
}