Ted /
Extending
Search:  


Table Of Contents (show)

  1. 1. Extending TED

1.  Extending TED

The User menu in TED is a placeholder for adding custom designed functions (usually defined in User.tcl). The menu pick Help/Development/Edit-User-Menu invokes editing of User.tcl. Here is how it works.

The first time Edit-User-Menu is selected, User.tcl is copied to ~/.ted/User.tcl and the editor invoked on it. Example code therein provides a sample of populating the User menu in TED. These sample routines are meant to be modified by the user. Subsequently, (upon changing) this file will be re-source when a new editor window is opened. Thus it is a simple matter to make and test changes, on the fly.

© 2008 Peter MacDonald

Page last modified on December 29, 2007, at 10:14 AM