aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-10-09 10:39:59 +1100
committerNeil <nyamatongwe@gmail.com>2018-10-09 10:39:59 +1100
commit2b3cbabf99fc8cf318ef5afd951c5c60618a4046 (patch)
tree37bb2ecf91945ccf7cb843e007e9c1988921e95c /src/CellBuffer.h
parent28f50d76ea9c0c047b1226ca7778fa14f3901410 (diff)
downloadscintilla-mirror-2b3cbabf99fc8cf318ef5afd951c5c60618a4046.tar.gz
Backport: Improve performance of text insertion when Unicode line indexing off.
Backport of changeset 7108:9ef6d056e686.
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r--src/CellBuffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CellBuffer.h b/src/CellBuffer.h
index b9f2406f1..7d5682260 100644
--- a/src/CellBuffer.h
+++ b/src/CellBuffer.h
@@ -125,6 +125,7 @@ private:
bool UTF8IsCharacterBoundary(Sci::Position position) const;
void ResetLineEnds();
void RecalculateIndexLineStarts(Sci::Line lineFirst, Sci::Line lineLast);
+ bool MaintainingLineCharacterIndex() const noexcept;
/// Actions without undo
void BasicInsertString(Sci::Position position, const char *s, Sci::Position insertLength);
void BasicDeleteChars(Sci::Position position, Sci::Position deleteLength);