diff options
author | nyamatongwe <unknown> | 2010-07-28 17:54:24 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-07-28 17:54:24 +1000 |
commit | 6f83fe733e48c36df35ecc1a10d7197b2b7a7dda (patch) | |
tree | 7707c8491a64e1e55fd3778f3b27952b2d186ce9 /src/Document.cxx | |
parent | bb7386900f5ff0c66f5a6e296721bb2eb475e524 (diff) | |
download | scintilla-mirror-6f83fe733e48c36df35ecc1a10d7197b2b7a7dda.tar.gz |
Restore container lexing functionality which was accidentally removed by lexer objects changes.
Diffstat (limited to 'src/Document.cxx')
-rw-r--r-- | src/Document.cxx | 2 |
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); |