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
commitb2da7da8ece3db03cc3d87b828a8b1b39b880454 (patch)
tree7a922a6a3fff82b8065f2953236fdef2dfc2e6e2 /src/CellBuffer.h
parent5f6858c44289bcafb9c9f0655fe9049619b36548 (diff)
downloadscintilla-mirror-b2da7da8ece3db03cc3d87b828a8b1b39b880454.tar.gz
Improve performance of text insertion when Unicode line indexing off.
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);