From ee0e98b74c7e7c64fb9079cd0bacd4c3e840c3b0 Mon Sep 17 00:00:00 2001 From: mitchell Date: Fri, 19 Jun 2020 08:40:49 -0400 Subject: Reverted experimental Lexilla and SCI_SETILEXER support. When testing, it works when compiled with debug symbols enabled, but crashes without them. It doesn't seem worth maintaining. --- src/ScintillaBase.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/ScintillaBase.h') diff --git a/src/ScintillaBase.h b/src/ScintillaBase.h index fcb1c9796..a558922bc 100644 --- a/src/ScintillaBase.h +++ b/src/ScintillaBase.h @@ -10,7 +10,10 @@ namespace Scintilla { +#ifdef SCI_LEXER class LexState; +#endif + /** */ class ScintillaBase : public Editor, IListBoxDelegate { @@ -41,10 +44,12 @@ protected: int maxListWidth; /// Maximum width of list, in average character widths int multiAutoCMode; /// Mode for autocompleting when multiple selections are present +#if SCI_LEXER LexState *DocumentLexState(); void SetLexer(uptr_t wParam); void SetLexerLanguage(const char *languageName); void Colourise(int start, int end); +#endif ScintillaBase(); // Deleted so ScintillaBase objects can not be copied. -- cgit v1.2.3