diff options
author | Neil <nyamatongwe@gmail.com> | 2019-05-17 08:30:59 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-05-17 08:30:59 +1000 |
commit | 61a2cc3fadea9f805f572ef2ce233c12b428b871 (patch) | |
tree | 740bf042388b2444b305f06aefaaa99ed394b837 /src | |
parent | d50a8576e70ab84af42fb0bbac56c2d74ddc1898 (diff) | |
download | scintilla-mirror-61a2cc3fadea9f805f572ef2ce233c12b428b871.tar.gz |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/CellBuffer.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
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(); } } |