diff options
author | Zufu Liu <unknown> | 2023-11-21 11:40:02 +1100 |
---|---|---|
committer | Zufu Liu <unknown> | 2023-11-21 11:40:02 +1100 |
commit | 8a159b44bdf6541f7dcd640e160447617db13989 (patch) | |
tree | 56551bfb4f7f05272a2e813b7d1469d0eb56e540 /src/PositionCache.h | |
parent | df54de37b0a372a49bed0130406a5b75b85cd119 (diff) | |
download | scintilla-mirror-8a159b44bdf6541f7dcd640e160447617db13989.tar.gz |
Feature [feature-requests:#1502] Improve speed of LineLayoutCache::Invalidate
for replacing text.
Diffstat (limited to 'src/PositionCache.h')
-rw-r--r-- | src/PositionCache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PositionCache.h b/src/PositionCache.h index e610ac879..b63fb22fc 100644 --- a/src/PositionCache.h +++ b/src/PositionCache.h @@ -156,7 +156,7 @@ public: private: Scintilla::LineCache level; std::vector<std::shared_ptr<LineLayout>>cache; - bool allInvalidated; + LineLayout::ValidLevel maxValidity; int styleClock; size_t EntryForLine(Sci::Line line) const noexcept; void AllocateForLevel(Sci::Line linesOnScreen, Sci::Line linesInDoc); |