From 2bf292a604d2b8e2bb07be283d8ab0067f24a43b Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 1 May 2001 11:12:42 +0000 Subject: External lexer feature added by Simon allows lexers to be housed in DLLs with a .lexer extension which are automatically loaded at startup. Minor fix to IME support in ScintillaWin.cxx to deal with current mingw headers. --- src/ScintillaBase.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ScintillaBase.cxx') diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index fe873b0f2..2840e08fb 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -41,6 +41,7 @@ ScintillaBase::ScintillaBase() { lexCurrent = 0; for (int wl = 0;wl < numWordLists;wl++) keyWordLists[wl] = new WordList; + keyWordLists[numWordLists] = 0; #endif } @@ -362,7 +363,7 @@ void ScintillaBase::Colourise(int start, int end) { int len = end - start; //WindowAccessor styler(wMain.GetID(), props); - DocumentAccessor styler(pdoc, props); + DocumentAccessor styler(pdoc, props, wMain.GetID()); int styleStart = 0; if (start > 0) -- cgit v1.2.3