aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-08-19 08:28:46 +1000
committernyamatongwe <unknown>2010-08-19 08:28:46 +1000
commit02a80556cc80f6b5bfd704184d4b450973d65b19 (patch)
tree74119d3ed7515c0aef0e1f34bed1763233e15b84
parent94f46358a4e693d9ad83eb9f688dd1a7388319c1 (diff)
downloadscintilla-mirror-02a80556cc80f6b5bfd704184d4b450973d65b19.tar.gz
Ensure styling committed when lexers call StyleContext::Complete.
-rw-r--r--lexlib/StyleContext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lexlib/StyleContext.h b/lexlib/StyleContext.h
index 8b1345432..15d216bd1 100644
--- a/lexlib/StyleContext.h
+++ b/lexlib/StyleContext.h
@@ -74,6 +74,7 @@ public:
}
void Complete() {
styler.ColourTo(currentPos - 1, state);
+ styler.Flush();
}
bool More() const {
return currentPos < endPos;