I ran into some trouble using wxStyledTextCtrl.FindText(). I am retrieving
data and flags from a
wxFindReplaceDialog/wxFindDeplaceData couple. So far so good.
The trouble I'm getting is with the "caseSensitive" and "wholeWord" flags
for the FindText method of the wxSTC.
The documented call "int FindText(int minPos, int maxPos, const wxString&
text, bool caseSensitive, bool wholeWord) (as seen on http://webpages.charter.net/edreamleo/out2.htm#wxstyledtextctrlfindtext)
doesn't seem be correct, so I guessed I needed to or'ing the flags together.
Unfortunately, that doesn't give the desired effect either. Anybody ever ran
into that problem?
This is on winxp, wxPython 2.4.2u for python 2.3.3
I ran into some trouble using wxStyledTextCtrl.FindText(). I am retrieving
data and flags from a
wxFindReplaceDialog/wxFindDeplaceData couple. So far so good.
The trouble I'm getting is with the "caseSensitive" and "wholeWord" flags
for the FindText method of the wxSTC.
The documented call "int FindText(int minPos, int maxPos, const wxString&
text, bool caseSensitive, bool wholeWord) (as seen on http://webpages.charter.net/edreamleo/out2.htm#wxstyledtextctrlfindtext)
doesn't seem be correct, so I guessed I needed to or'ing the flags together.
Unfortunately, that doesn't give the desired effect either. Anybody ever ran
into that problem?