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

[STR Pending]

Link: http://www.fltk.org/str.php?L2169
Version: 1.3-feature
Fix Version: 1.3-current (r6893)


What making these patches, what I really wanted to see
was either separate methods, or a single method for /all/
cursor motion operations, eg. something like:

move(MOVE_SOF);              // move to start of file
move(MOVE_EOF);              // move to end of file
move(MOVE_EOL);              // move to end of line
move(MOVE_EOL|MOVE_SELECT);  // select to EOL
move(MOVE_WLEFT);            // move word left
move(MOVE_WRIGHT);           // move word right
move(MOVE_LUP);              // move line up
move(MOVE_LDOWN);            // move line down
move(MOVE_LEFT);             // move char left
move(MOVE_RIGHT);            // move char right

..this way we don't need separate functions for each modifier,
just a map of 'this key' to 'this operation'.

This way all motions are clear, and there'd be no redundant code.


Link: http://www.fltk.org/str.php?L2169
Version: 1.3-feature
Fix Version: 1.3-current (r6893)

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to