pythonwxpythonfindwxtextctrl

Making a Ctrl-F Feature for wx.TextCtrl


I'm attempting to make a Ctrl+F (Find) feature for a wx.TextCtrl widget. However I'm unsure of how to highlight certain indexes/phrases. How would I go about this?


Solution

  • How about wx.TextCtrl.SetSelection(from, to)