mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 22:04:55 +02:00
parent
801a3f5845
commit
0768047941
@ -1796,9 +1796,9 @@ bool FindReplaceDlg::processReplace(const TCHAR *txt2find, const TCHAR *txt2repl
|
|||||||
{
|
{
|
||||||
generic_string msg;
|
generic_string msg;
|
||||||
if (moreMatches)
|
if (moreMatches)
|
||||||
msg = pNativeSpeaker->getLocalizedStrFromID("find-status-replaced-next-found", TEXT("Replace: 1 occurrence was replaced. The next occurence found"));
|
msg = pNativeSpeaker->getLocalizedStrFromID("find-status-replaced-next-found", TEXT("Replace: 1 occurrence was replaced. The next occurrence found"));
|
||||||
else
|
else
|
||||||
msg = pNativeSpeaker->getLocalizedStrFromID("find-status-replaced-next-not-found", TEXT("Replace: 1 occurrence was replaced. The next occurence not found"));
|
msg = pNativeSpeaker->getLocalizedStrFromID("find-status-replaced-next-not-found", TEXT("Replace: 1 occurrence was replaced. The next occurrence not found"));
|
||||||
|
|
||||||
setStatusbarMessage(msg, FSMessage);
|
setStatusbarMessage(msg, FSMessage);
|
||||||
}
|
}
|
||||||
@ -2200,7 +2200,7 @@ int FindReplaceDlg::processRange(ProcessOperation op, FindReplaceInfo & findRepl
|
|||||||
}
|
}
|
||||||
++nbProcessed;
|
++nbProcessed;
|
||||||
|
|
||||||
// After the processing of the last string occurence the search loop should be stopped
|
// After the processing of the last string occurrence the search loop should be stopped
|
||||||
// This helps to avoid the endless replacement during the EOL ("$") searching
|
// This helps to avoid the endless replacement during the EOL ("$") searching
|
||||||
if (targetStart + foundTextLen == findReplaceInfo._endRange)
|
if (targetStart + foundTextLen == findReplaceInfo._endRange)
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user