ide: Fixed Find behaviour when the text is not found

git-svn-id: svn://ultimatepp.org/upp/trunk@7436 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-06-11 06:02:17 +00:00
parent bdf977aa85
commit 306ffb4894

View file

@ -221,11 +221,11 @@ bool CodeEditor::FindFrom(int pos, bool back, const wchar *text, bool wholeword,
l = s = ln;
}
}
ClearSelection();
if(back)
notfoundbk = true;
else
notfoundfw = true;
ClearSelection();
return false;
}