Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does the text widget have undo?

text undo widget
0
Posted

Does the text widget have undo?

0

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 http://groups.google.com/advanced_group_search?as_ugroup=comp.lang.tcl.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.