aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ScintillaBase.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-03-16 11:43:39 +0000
committernyamatongwe <unknown>2000-03-16 11:43:39 +0000
commit35b3616d73451024b36279c4b8a05f19eeb17468 (patch)
tree3837357cf607234f40e4b4705c24da1e40ba0758 /src/ScintillaBase.cxx
parent0e0ffc9c30980dd8f91b4b942407887841ee0235 (diff)
downloadscintilla-mirror-35b3616d73451024b36279c4b8a05f19eeb17468.tar.gz
Split up KeyWords.cxx into 7 individual lexer files Lex*.cxx.
Fixed setting up of second view to get right document length. Changed Python lexer to handle empty lines immediately after fold line and last line of document.
Diffstat (limited to 'src/ScintillaBase.cxx')
-rw-r--r--src/ScintillaBase.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx
index 0ca299bd2..21f984044 100644
--- a/src/ScintillaBase.cxx
+++ b/src/ScintillaBase.cxx
@@ -281,8 +281,9 @@ void ScintillaBase::Colourise(int start, int end) {
int styleStart = 0;
if (start > 0)
styleStart = styler.StyleAt(start - 1);
-
- ColouriseDoc(pdoc->dbcsCodePage, start, len, styleStart, lexLanguage, keyWordLists, styler);
+ styler.SetCodePage(pdoc->dbcsCodePage);
+
+ LexerModule::Colourise(start, len, styleStart, lexLanguage, keyWordLists, styler);
styler.Flush();
}
#endif