summaryrefslogtreecommitdiff
path: root/src/Fl_Input.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-10-30 14:23:16 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-10-30 14:23:16 +0000
commit299ebf295a9f729f68d1ad3b923cef9e6747132c (patch)
treebb8ca12853e707816b69d83e2deaef40683a9dd7 /src/Fl_Input.cxx
parent4bed0a3665cfa558009b8ac9b995eac11278c7a7 (diff)
Update tile documentation to be explicit about widgets touching and doing
their own borders. Support CMD+[cxv] for copy/cut/paste on OSX. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2717 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Input.cxx')
-rw-r--r--src/Fl_Input.cxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/Fl_Input.cxx b/src/Fl_Input.cxx
index 236a4cc71..25f6cd00b 100644
--- a/src/Fl_Input.cxx
+++ b/src/Fl_Input.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Input.cxx,v 1.10.2.15.2.14 2002/10/10 19:39:49 easysw Exp $"
+// "$Id: Fl_Input.cxx,v 1.10.2.15.2.15 2002/10/30 14:23:15 easysw Exp $"
//
// Input widget for the Fast Light Tool Kit (FLTK).
//
@@ -145,6 +145,14 @@ int Fl_Input::handle_key() {
case FL_Tab:
if (Fl::event_state(FL_CTRL|FL_SHIFT) || input_type()!=FL_MULTILINE_INPUT || readonly()) return 0;
return replace(position(), mark(), &ascii, 1);
+#ifdef __APPLE__
+ case 'c' :
+ case 'v' :
+ case 'x' :
+ case 'z' :
+ if (Fl::event_state(FL_META)) ascii = ctrl(Fl::event_key());
+ break;
+#endif // __APPLE__
}
int i;
@@ -396,5 +404,5 @@ Fl_Input::Fl_Input(int X, int Y, int W, int H, const char *l)
}
//
-// End of "$Id: Fl_Input.cxx,v 1.10.2.15.2.14 2002/10/10 19:39:49 easysw Exp $".
+// End of "$Id: Fl_Input.cxx,v 1.10.2.15.2.15 2002/10/30 14:23:15 easysw Exp $".
//