aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaCocoa.mm
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-07-13 21:40:42 +1000
committernyamatongwe <devnull@localhost>2010-07-13 21:40:42 +1000
commit0f8368b69dc3fd123dab6f0e06ec3f735fd14eb8 (patch)
treec0f4f250840266e2cfcac2e03fa3f5e5a855da5f /cocoa/ScintillaCocoa.mm
parentd4d3f82cc71c64c05ce6efdcb61164092da51c2b (diff)
downloadscintilla-mirror-0f8368b69dc3fd123dab6f0e06ec3f735fd14eb8.tar.gz
Platform files changed for new lexer design.
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
-rw-r--r--cocoa/ScintillaCocoa.mm5
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;