diff options
author | nyamatongwe <unknown> | 2010-07-13 21:40:42 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-07-13 21:40:42 +1000 |
commit | 748b59baa47ede785b3fc0f95fe182fc7dba439e (patch) | |
tree | 5414d4ab331ecc54cc943f1b5f70b77d81822f6e /cocoa | |
parent | 46a09069e0fd52a121d8a5d6655d513d28198061 (diff) | |
download | scintilla-mirror-748b59baa47ede785b3fc0f95fe182fc7dba439e.tar.gz |
Platform files changed for new lexer design.
Diffstat (limited to 'cocoa')
-rw-r--r-- | cocoa/ScintillaCocoa.h | 5 | ||||
-rw-r--r-- | cocoa/ScintillaCocoa.mm | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/cocoa/ScintillaCocoa.h b/cocoa/ScintillaCocoa.h index 3f4d20093..5be17c773 100644 --- a/cocoa/ScintillaCocoa.h +++ b/cocoa/ScintillaCocoa.h @@ -21,12 +21,11 @@ #include <vector> +#include "ILexer.h" + #ifdef SCI_LEXER #include "SciLexer.h" -#include "PropSet.h" #include "PropSetSimple.h" -#include "Accessor.h" -#include "KeyWords.h" #endif #include "SVector.h" diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index 318c364e5..f91183aa2 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -219,6 +219,11 @@ ScintillaCocoa::~ScintillaCocoa() */ void ScintillaCocoa::Initialise() { + static bool initedLexers = false; + if (!initedLexers) { + initedLexers = true; + Scintilla_LinkLexers(); + } notifyObj = NULL; notifyProc = NULL; |