mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-05 17:44:55 -06:00
ide: Refining find&replace
git-svn-id: svn://ultimatepp.org/upp/trunk@7482 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
cec6ed072d
commit
dc56fefa6c
1 changed files with 3 additions and 2 deletions
|
|
@ -276,7 +276,6 @@ void CodeEditor::FindReplaceAddHistory()
|
|||
|
||||
bool CodeEditor::Find(bool back, bool blockreplace, bool replace)
|
||||
{
|
||||
FindReplaceAddHistory();
|
||||
findreplace.find.Error(false);
|
||||
findreplace.info.SetLabel("&Find");
|
||||
if(Find(back, (WString)~findreplace.find, findreplace.wholeword,
|
||||
|
|
@ -634,8 +633,10 @@ void CodeEditor::ReplaceWildcard()
|
|||
|
||||
void CodeEditor::CloseFindReplace()
|
||||
{
|
||||
if(findreplace.IsOpen())
|
||||
if(findreplace.IsOpen()) {
|
||||
FindReplaceAddHistory();
|
||||
RemoveFrame(findreplace);
|
||||
}
|
||||
}
|
||||
|
||||
void CodeEditor::IncrementalFind()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue