ide: refining new Find&Replace

git-svn-id: svn://ultimatepp.org/upp/trunk@7478 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-07-01 09:00:06 +00:00
parent a161a8a065
commit 5df53f2cd4
9 changed files with 61 additions and 22 deletions

View file

@ -540,6 +540,7 @@ void CodeEditor::LeftDown(Point p, dword keyflags) {
}
LineEdit::LeftDown(p, keyflags);
WhenLeftDown();
CloseFindReplace();
}
void CodeEditor::Tip::Paint(Draw& w)
@ -745,6 +746,10 @@ bool CodeEditor::Key(dword code, int count) {
last_key_time = key_time;
NextUndo();
if(code == replace_key) {
Replace();
return true;
}
switch(code) {
case K_CTRL_DELETE:
DeleteWord();