diff options
author | Neil <nyamatongwe@gmail.com> | 2013-10-26 08:02:22 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-10-26 08:02:22 +1100 |
commit | c522c390d9bd296b436c6f3e048437c1c5119c90 (patch) | |
tree | c22051c83b4f5b971107f11e93caeda0d504a9a6 /lexlib/LexAccessor.h | |
parent | 22c9570a6c186fd14c5612f8ba4d3c828be86884 (diff) | |
download | scintilla-mirror-c522c390d9bd296b436c6f3e048437c1c5119c90.tar.gz |
Avoid invalidating the buffered text when flushing styles.
Diffstat (limited to 'lexlib/LexAccessor.h')
-rw-r--r-- | lexlib/LexAccessor.h | 1 |
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; |