DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2169
Version: 1.3-feature





Link: http://www.fltk.org/str.php?L2169
Version: 1.3-feature
--- src/Fl_Input.cxx.orig       2009-03-06 07:44:18.000000000 -0800
+++ src/Fl_Input.cxx    2009-03-06 07:51:48.000000000 -0800
@@ -150,9 +150,17 @@
     else ascii = ctrl('D');
     break;    
   case FL_Left:
-    ascii = ctrl('B'); break;
+    ascii = ctrl('B');
+#ifdef __APPLE__
+    if (Fl::event_state() & FL_COMMAND ) ascii = ctrl('A');
+#endif // __APPLE__
+    break;
   case FL_Right:
-    ascii = ctrl('F'); break;
+    ascii = ctrl('F');
+#ifdef __APPLE__
+    if (Fl::event_state() & FL_COMMAND ) ascii = ctrl('E');
+#endif // __APPLE__
+    break;
   case FL_Page_Up:
     fl_font(textfont(),textsize()); //ensure current font is set to ours
     repeat_num=h()/fl_height(); // number of lines to scroll
_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to