aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/StyleContext.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-08-19 08:28:46 +1000
committernyamatongwe <devnull@localhost>2010-08-19 08:28:46 +1000
commit24355650921762c19b1009f7861b80900f4ccd6c (patch)
treeab4365c482800c7abb14935daf66fe0946306be8 /lexlib/StyleContext.h
parent46467979142dfadbbb266104b21973fb91c5c2ac (diff)
downloadscintilla-mirror-24355650921762c19b1009f7861b80900f4ccd6c.tar.gz
Ensure styling committed when lexers call StyleContext::Complete.
Diffstat (limited to 'lexlib/StyleContext.h')
-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;