ide: Refining incremental search

git-svn-id: svn://ultimatepp.org/upp/trunk@7494 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-07-08 07:38:58 +00:00
parent 6f3c5c0307
commit 41b7ad364a
5 changed files with 22 additions and 13 deletions

View file

@ -233,7 +233,7 @@ void CodeEditor::SelectionChanged()
Refresh();
}
if(!foundsel) {
if(!persistent_find_replace && !findreplace.incremental)
if(!persistent_find_replace)
CloseFindReplace();
found = false;
notfoundfw = notfoundbk = false;
@ -618,7 +618,7 @@ void CodeEditor::FindWord(bool back)
{
WString I = GetI();
if(!IsNull(I))
Find(back, I, true, false, false, false);
Find(back, I, true, false, false, false, false);
}
void CodeEditor::SetI(Ctrl *edit)