aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-05-17 08:30:59 +1000
committerNeil <nyamatongwe@gmail.com>2019-05-17 08:30:59 +1000
commite08104d60449701647a0f71f6514e7d47d2d701b (patch)
treedb329ff3b3cea3fcc25abd7de0bb66f17b5b6188 /src
parentdbb3dbe28d22720639967832cef6f6e8163d472a (diff)
downloadscintilla-mirror-e08104d60449701647a0f71f6514e7d47d2d701b.tar.gz
Fixed performance bug where line end positions were reset withot need when
switching from or to Unicode. Only noticeable on huge files.
Diffstat (limited to 'src')
-rw-r--r--src/CellBuffer.cxx1
1 files changed, 0 insertions, 1 deletions
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();
}
}