diff options
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
-rw-r--r-- | cocoa/ScintillaCocoa.mm | 5 |
1 files changed, 5 insertions, 0 deletions
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; |