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