Extend FindText() to return end position of matched text in wxSTC
New 5th parameter of FindText() can be used to receive the end position of matched text returned by SCI_FINDTEXT API. Closes #17305. Closes https://github.com/wxWidgets/wxWidgets/pull/23
This commit is contained in:
committed by
Artur Wieczorek
parent
187c4692c8
commit
91a2869b0e
@@ -3555,7 +3555,8 @@ public:
|
||||
int GetPrintColourMode() const;
|
||||
|
||||
// Find some text in the document.
|
||||
int FindText(int minPos, int maxPos, const wxString& text, int flags=0);
|
||||
int FindText(int minPos, int maxPos, const wxString& text, int flags=0,
|
||||
int* findEnd=NULL);
|
||||
|
||||
// On Windows, will draw the document into a display context such as a printer.
|
||||
int FormatRange(bool doDraw,
|
||||
|
Reference in New Issue
Block a user