Add GetDirect{Function,Pointer}() methods to wxStyledTextCtrl

These methods can be useful when working with dynamic lexers.

Closes #17481.
This commit is contained in:
New Pagodi
2016-04-03 15:48:46 +02:00
committed by Vadim Zeitlin
parent a6e249ea1a
commit 0a3057b83c
6 changed files with 59 additions and 2 deletions

View File

@@ -3525,6 +3525,13 @@ public:
// Retrieve the number of characters in the document.
int GetTextLength() const;
// Retrieve a pointer to a function that processes messages for this Scintilla.
void* GetDirectFunction() const;
// Retrieve a pointer value to use as the first argument when calling
// the function returned by GetDirectFunction.
void* GetDirectPointer() const;
// Set to overtype (true) or insert mode.
void SetOvertype(bool overtype);