diff options
author | nyamatongwe <devnull@localhost> | 2010-08-19 08:28:46 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-08-19 08:28:46 +1000 |
commit | 24355650921762c19b1009f7861b80900f4ccd6c (patch) | |
tree | ab4365c482800c7abb14935daf66fe0946306be8 /lexlib/StyleContext.h | |
parent | 46467979142dfadbbb266104b21973fb91c5c2ac (diff) | |
download | scintilla-mirror-24355650921762c19b1009f7861b80900f4ccd6c.tar.gz |
Ensure styling committed when lexers call StyleContext::Complete.
Diffstat (limited to 'lexlib/StyleContext.h')
-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; |