Add support for loading external lexers to wxStyledTextCtrl

Implement Scintilla DynamicLibraryImpl and generate LoadLexerLibrary() and
GetLexerLanguage().

Closes #17480.
This commit is contained in:
New Pagodi
2016-04-03 15:38:54 +02:00
committed by Vadim Zeitlin
parent ae1a332d1f
commit a6e249ea1a
6 changed files with 86 additions and 6 deletions

View File

@@ -6031,6 +6031,11 @@ public:
*/
void SetLexerLanguage(const wxString& language);
/**
Load a lexer library (dll / so).
*/
void LoadLexerLibrary(const wxString& path);
/**
Retrieve a 'property' value previously set with SetProperty.
*/
@@ -6053,6 +6058,11 @@ public:
*/
int GetStyleBitsNeeded() const;
/**
Retrieve the lexing language of the document.
*/
wxString GetLexerLanguage() const;
/**
For private communication between an application and a known lexer.
*/