ide: Refining find&replace

git-svn-id: svn://ultimatepp.org/upp/trunk@7484 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-07-03 13:43:49 +00:00
parent 610034ad10
commit 755d38cba8
5 changed files with 26 additions and 16 deletions

View file

@ -12,6 +12,7 @@ DropChoice::DropChoice() {
EnableDrop(false);
dropwidth = 0;
appending = false;
updownkeys = true;
}
void DropChoice::EnableDrop(bool b)
@ -83,6 +84,8 @@ bool DropChoice::DoKey(dword key) {
PseudoPush();
return true;
case K_DOWN:
if(!updownkeys)
return false;
if(appending)
PseudoPush();
else {
@ -91,6 +94,8 @@ bool DropChoice::DoKey(dword key) {
}
return true;
case K_UP:
if(!updownkeys)
return false;
if(appending)
PseudoPush();
else {