diff options
author | nyamatongwe <devnull@localhost> | 2001-05-01 11:12:42 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-05-01 11:12:42 +0000 |
commit | 2bf292a604d2b8e2bb07be283d8ab0067f24a43b (patch) | |
tree | 2d1d090c6804a9af2f81f04c4554c22e819a1487 /src/ScintillaBase.cxx | |
parent | 581baaf98ebddddf0984b7b5bab90216069ac8b6 (diff) | |
download | scintilla-mirror-2bf292a604d2b8e2bb07be283d8ab0067f24a43b.tar.gz |
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.
Diffstat (limited to 'src/ScintillaBase.cxx')
-rw-r--r-- | src/ScintillaBase.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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) |