Note: I haven't yet written a real version of this document.
What follows is a cursory description for until I do.
Description
The
jbindtext.tcl library consists of procedures to support userselectable sets
of keyboard bindings. The user can use the
Global Preferences panel to choose among basic, Emacs, and
vi bindings (and
EDT bindings are soon to come, thanks to Achim Bohnet
<ach@rosat.mpe-garching.mpg.de>, who's also working on improving the
vi bindings). There are a number of procedures in this library,
but most of them are only of interest to people writing new bindings
or extending the existing ones. (This includes people writing
a
~/.tk/entrybindings.tcl configuration file, though, so I really ought to write the
documentation! :-)
If you use
j:jstools_init (from
jinit.tcl), you get all this for free. If you don't, and you want to
use the entry bindings libraries, you'll need to call
j:read_global_prefs and then
j:tb:init to set up the bindings according to the user's preferences.
If your application also includes entry widgets (which it does,
or should, since the
Global Preferences panel has entry widgets), you should also use
j:eb:init to set up text bindings (again, don't worry about this if you
use
j:jstools_init).
See Also
jinit.tcl
jbindentry.tcl (documentation only sortof written)
jtextkeys.tcl (documentation not yet written)
jtextmouse.tcl (documentation not yet written)
jtextbasic.tcl (documentation not yet written)
jtextvi.tcl (documentation not yet written)
jtextemacs.tcl (documentation not yet written)