mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-10 03:54:54 -06:00
ide: Refining find&replace
git-svn-id: svn://ultimatepp.org/upp/trunk@7484 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
610034ad10
commit
755d38cba8
5 changed files with 26 additions and 16 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue