From b2da7da8ece3db03cc3d87b828a8b1b39b880454 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 9 Oct 2018 10:39:59 +1100 Subject: Improve performance of text insertion when Unicode line indexing off. --- src/CellBuffer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/CellBuffer.h') 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); -- cgit v1.2.3