diff options
author | nyamatongwe <unknown> | 2010-08-19 08:28:46 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-08-19 08:28:46 +1000 |
commit | 02a80556cc80f6b5bfd704184d4b450973d65b19 (patch) | |
tree | 74119d3ed7515c0aef0e1f34bed1763233e15b84 | |
parent | 94f46358a4e693d9ad83eb9f688dd1a7388319c1 (diff) | |
download | scintilla-mirror-02a80556cc80f6b5bfd704184d4b450973d65b19.tar.gz |
Ensure styling committed when lexers call StyleContext::Complete.
-rw-r--r-- | lexlib/StyleContext.h | 1 |
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; |