Undo/Redo & Find/Replace documentation for TextCtrl ANYWHERE???

Hello, I was just wondering if there was ANY documentation of Undo/Redo
and Find/Replace in a wx.TextCtrl, as I have not found any.
Or if you could give me some pointers on how to do this, that would be great.

Trey,

···

-----Original Message-----
From: Trey K [mailto:trey.wxpython@gmail.com]
Sent: Thursday, October 11, 2007 1:52 AM
To: wxPython-users@lists.wxwidgets.org
Subject: Undo/Redo & Find/Replace documentation for TextCtrl
ANYWHERE???

Hello, I was just wondering if there was ANY documentation of
Undo/Redo and Find/Replace in a wx.TextCtrl, as I have not found any.
Or if you could give me some pointers on how to do this, that
would be great.

This looks like a decent tutorial:

http://wiki.wxpython.org/AnotherTutorial#head-d507326c8f317a01b453ec9192b9
9a7a1d57a0a9

Just scroll down to the "UndoRedoFramework" section near the bottom of the
page.

Mike

Trey K wrote:

Hello, I was just wondering if there was ANY documentation of Undo/Redo and Find/Replace in a wx.TextCtrl, as I have not found any.
Or if you could give me some pointers on how to do this, that would be great.

wx.TextCtrl has Undo and Redo methods: http://wxwidgets.org/manuals/stable/wx_wxtextctrl.html

There is the wx.FindReplaceDialog: http://wxwidgets.org/manuals/stable/wx_wxfindreplacedialog.html You can use that to provide the UI for find and replace, and methods of the wx.TextCtrl for actually showing the found text and giving the textctrl and new value when you want to replace them.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!