From c522c390d9bd296b436c6f3e048437c1c5119c90 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 26 Oct 2013 08:02:22 +1100 Subject: Avoid invalidating the buffered text when flushing styles. --- lexlib/LexAccessor.h | 1 - 1 file changed, 1 deletion(-) (limited to 'lexlib') 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; -- cgit v1.2.3