Advanced Search
Mail us
Home    Manuel    Links    Faq    Submit a tcl/tk Reference    Contact Us

    Some examples tcl/tk codes     Man of Bwidget     Man of blt     mkwidget screenshots     TkOgl     Video Demo real.

  Does the text widget have undo?
 The text widget does not have a built-in core undo functionality, but it
is possible to create such in Tcl.  The method is similar to maintaining
read-only sections of a text widget, whereby the programmer must catch
every instance of insert and delete and store them.

Depending on whether you want unlimited undo, you also want redo, or you
want to capture tags as well, the exact functionality changes.  Examples
of working undo functionality have been posted on news:comp.lang.tcl and
can be found via