Version 20 of Ctext

Updated 2005-03-21 22:21:31

Documentation will hopefully eventually be found at http://tcllib.sourceforge.net/doc/ctext.html , but not yet.

Ctext is

  • part of tklib.
  • 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

 What: custom text widget
 Where: http://tcllib.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: 05/2004
 Contact: tklib maintainers

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.

RLH I would use it but I don't see it as part of tklib on ActiveTcl 8.4.6.1 nor do I find mention on the tklib sourceforge page.

AK: Both the tklib documentation page at SourceForge and the documentation of tcllib/tklib in ActiveTcl are based on doctools. As ctext has no doctools manpage it is not listed by neither of them :(. That does not mean that it is not present. A package require ctext should work. Also note that the wiki page for tklib does list it.


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