aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-10-26 08:02:22 +1100
committerNeil <nyamatongwe@gmail.com>2013-10-26 08:02:22 +1100
commit6da3ea5f4f9472dbc4d75c99562c7b7c6c811476 (patch)
treebfb709c69d98b934cfb387967f9fc66d87c5035c
parentb0e989a6b1206749ddf413555168c27355776299 (diff)
downloadscintilla-mirror-6da3ea5f4f9472dbc4d75c99562c7b7c6c811476.tar.gz
Avoid invalidating the buffered text when flushing styles.
-rw-r--r--lexlib/LexAccessor.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lexlib/LexAccessor.h b/lexlib/LexAccessor.h
index e29bbc923..ae0af74e9 100644
--- a/lexlib/LexAccessor.h
+++ b/lexlib/LexAccessor.h
@@ -139,7 +139,6 @@ public:
return lenDoc;
}
void Flush() {
- startPos = extremePosition;
if (validLen > 0) {
pAccess->SetStyles(validLen, styleBuf);
startPosStyling += validLen;