I'm building a text editor that has an Undo/Redo feature. To do this, I basically invoke a callback every time the user presses a key; the callback copies the entire contents of the Text widget to a history list. Later, if the user presses Ctrl-Z, the widget steps back through the history list, and if the user presses Ctrl-Y, it steps forward.
Jared,
I see you got lots of help on the 'see' problem I just wanted to point out the Text widget comes with it's own undo/redo methods as of Tk 8.4
so if you have an up to date Python & Tk you should be able to use them
Cheers, Martin.
_______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss
