aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-07-28 17:54:24 +1000
committernyamatongwe <devnull@localhost>2010-07-28 17:54:24 +1000
commit7317421053e0b1ddde78e0ddd317d6b6fb52aa57 (patch)
treef6cbcf5648f869cdb62556d39e9223f94307ee94 /src/Document.cxx
parentfc8b0efdbd3f1156feb7fb28d2934c79f1119e8e (diff)
downloadscintilla-mirror-7317421053e0b1ddde78e0ddd317d6b6fb52aa57.tar.gz
Restore container lexing functionality which was accidentally removed by lexer objects changes.rel-2-20
Diffstat (limited to 'src/Document.cxx')
-rw-r--r--src/Document.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.cxx b/src/Document.cxx
index 4b6a448cb..577f70910 100644
--- a/src/Document.cxx
+++ b/src/Document.cxx
@@ -1409,7 +1409,7 @@ bool SCI_METHOD Document::SetStyles(int length, const char *styles) {
void Document::EnsureStyledTo(int pos) {
if ((enteredStyling == 0) && (pos > GetEndStyled())) {
IncrementStyleClock();
- if (pli) {
+ if (pli && !pli->UseContainerLexing()) {
int lineEndStyled = LineFromPosition(GetEndStyled());
int endStyled = LineStart(lineEndStyled);
pli->Colourise(endStyled, pos);