diff options
author | nyamatongwe <unknown> | 2001-05-01 11:12:42 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-05-01 11:12:42 +0000 |
commit | 19724c5fcab3abb25d959a7c7a27950601a45270 (patch) | |
tree | 2d1d090c6804a9af2f81f04c4554c22e819a1487 /src/ScintillaBase.cxx | |
parent | b669de65e5aecfeb666cb660e0785851d7cde441 (diff) | |
download | scintilla-mirror-19724c5fcab3abb25d959a7c7a27950601a45270.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) |