mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
+ fix: break criteria for "replace all in range"
This commit is contained in:
parent
3e5dcfd2a8
commit
6d42cfdc93
@ -5150,7 +5150,8 @@ int EditReplaceAllInRange(HWND hwnd, LPCEDITFINDREPLACE lpefr, BOOL bShowInfo, i
|
||||
int iCount = 0;
|
||||
int start = iStartPos;
|
||||
int end = iEndPos;
|
||||
while ((start < end) && (iPos >= 0))
|
||||
|
||||
while ((iPos >= 0) && (start < end) && (end <= iEndPos))
|
||||
{
|
||||
iPos = EditFindInTarget(hwnd, szFind, slen, (int)(lpefr->fuFlags), &start, &end);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user