What is the proper way to undo/redo changes in a text box? I read
somewhere that the default undo depth is 1. How could I change this to,
say, about 35?
Here's a snippet of my code-
#!/usr/bin/python
import wx
import os
...
...
...
class MainWin(wx.Frame):
def __init__(self, parent, id, title):
wx.Frame.__init__(self, parent, id, title, size=(850, 450))
...
...
...
#Program body section start
self.code = wx.TextCtrl(self, ID_TEXTBOX, size=(200, 130),
style=wx.TE_MULTILINE)
...
...
...
app = MyApp(redirect=True, filename = "_error.log")
app.MainLoop()
Now, how would it be possible for me to do undo/redo for the "self.code"
TextCtrl widget?
Help is greatly appreciated.
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor