From 01cd695dc8d693c39500f24adf689d08d77d39da Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 16 Mar 2000 11:43:39 +0000 Subject: 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. --- src/ScintillaBase.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/ScintillaBase.cxx') 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 -- cgit v1.2.3