Fixed minor bug with find&replace

git-svn-id: svn://ultimatepp.org/upp/trunk@1350 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-07-01 12:48:20 +00:00
parent 9f682104a4
commit 893ba69a96

View file

@ -308,7 +308,7 @@ int CodeEditor::BlockReplace(WString find, WString replace, bool wholeword, bool
PlaceCaret(l);
int count = 0;
for(;;) {
if(!Find(false, find, wholeword, ignorecase, wildcards, true) || cursor >= h) break;
if(!Find(false, find, wholeword, ignorecase, wildcards, true) || cursor > h) break;
int hh, ll;
GetSelection(ll, hh);
CachePos(ll);