From e08104d60449701647a0f71f6514e7d47d2d701b Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 17 May 2019 08:30:59 +1000 Subject: Fixed performance bug where line end positions were reset withot need when switching from or to Unicode. Only noticeable on huge files. --- src/CellBuffer.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 4d8e711ee..f2445751f 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -678,7 +678,6 @@ void CellBuffer::Allocate(Sci::Position newSize) { void CellBuffer::SetUTF8Substance(bool utf8Substance_) { if (utf8Substance != utf8Substance_) { utf8Substance = utf8Substance_; - ResetLineEnds(); } } -- cgit v1.2.3