Domingo Alvarez Duarte wrote:
> - A compiler flag "CTRL_A_SELECT_ALL" to allow ctrl+a do select all text
> instead of go to begining of the line.
This should probably be /default/. (^A = select all)
Also, Fl_Input should probably have a default popup menu off the right
mouse
' that presents Copy and Paste, and that menu should be redefinable.
And there should probably be a precise agreement among Fl_Input
and Fl_Text_Editor on these apparently 'ubiquitous' edit keys:
^A - select all
^C - Copy
^V - Paste
^X - Copy+cut
^Z - Undo
SHIFT-^Z - redo (notepad/wordpad/TextEdit/gedit/kedit)
SHIFT-DEL - copy/cut (same as ^X)
SHIFT-INS - paste (same as ^V)
SHIFT-TAB - prev field
TAB - next field
(This isn't a complete list, just off the top of my head)
Fl_Text_Editor supports most of these (not SHIFT-^Z),
and Fl_Input seems closely similar (SHIFT-DEL is slightly different;
it doesn't affect the paste buffer, but does in Fl_Text_Editor)
If we really want to keep emacs style editing as an option,
I suggest we add an Fl_Input_::edit_mode() method that takes values
like:
FL_INPUT_DEFAULT // the platform specific "default"
everyone expects
FL_INPUT_EMACS // emacs editing keys plus
non-overlapping 'standards'
Or just stick with 'default' and abandon emacs style edit keys
altogether.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev