Version 7 of Ctext

Updated 2004-04-16 21:03:32

Documentation can be found at http://tcllib.sourceforge.net/doc/ctext.html (Not yet)

Ctext is

  • part of tklib.
  • is a megawidget that is built upon the Tk text widget. It provides syntax highlighting, and can be used to highlight a variety of languages. It provides a simple API and more radical changes (other than color) can be made by modifying the tag attributes. By default matching pairs of characters are flashed on the screen, like the popular Emacs and Lisp editors can do.
  • licensed like Tcl (BSDish), but copyrighted by George Peter Staplin.

See http://www.xmission.com/~georgeps/ctext/ for the original codebase.

Example: http://www.xmission.com/~georgeps/ctext/ctext_1_0_2.png


 What: custom text widget
 Where: http://www.xmission.com/%7Egeorgeps/ctext/ 
        http://tklib.sf.net/
 Description: Fast syntax highlighting text megawidget.
        Provides a way to control the highlighting colors for classes
        of keywords.  Latest version has electric braces/quotes/brackets
        and a new edit modified instance command.
        Has been tested with Tcl/Tk 8.3.2 and 8.4b1.
 Updated: 02/2004
 Contact: mailto:[email protected] (George Peter Staplin)

Anyone using this megawidget? It would be wonderful if documentation in doctools format might be written by those familar with it, so that the doc might be added to tklib.


[ Category Package | Category GUI, a part of tklib ]