Add GetDirect{Function,Pointer}() methods to wxStyledTextCtrl
These methods can be useful when working with dynamic lexers. Closes #17481.
This commit is contained in:
committed by
Vadim Zeitlin
parent
a6e249ea1a
commit
0a3057b83c
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user