Browse Source

Fix STR#2477; problem with SHIFT-DEL not doing copy() operation.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8020 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
pull/49/head
Greg Ercolano 15 years ago
parent
commit
808417739e
  1. 11
      src/Fl_Input.cxx

11
src/Fl_Input.cxx

@ -164,11 +164,12 @@ int Fl_Input::handle_key() { @@ -164,11 +164,12 @@ int Fl_Input::handle_key() {
return 1;
} else return 1;
#else
if (mods==0) {
ascii = ctrl('D');
} else if (mods==FL_SHIFT) {
ascii = ctrl('X');
} else return 1;
if (mods) return 1; // Alt-Del/Ctrl-Del/Meta-Del: do nothing
if (Fl::event_state() & FL_SHIFT) {
ascii = ctrl('X'); // Shift-Del -> ^X
} else {
ascii = ctrl('D'); // Del -> ^D
}
#endif
break;
case FL_Left:

Loading…
Cancel
Save