From 748b59baa47ede785b3fc0f95fe182fc7dba439e Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 13 Jul 2010 21:40:42 +1000 Subject: Platform files changed for new lexer design. --- cocoa/ScintillaCocoa.mm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cocoa/ScintillaCocoa.mm') 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; -- cgit v1.2.3