aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/PositionCache.h')
-rw-r--r--src/PositionCache.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/PositionCache.h b/src/PositionCache.h
index 0add8319a..e610ac879 100644
--- a/src/PositionCache.h
+++ b/src/PositionCache.h
@@ -83,6 +83,7 @@ public:
void operator=(LineLayout &&) = delete;
virtual ~LineLayout();
void Resize(int maxLineLength_);
+ void ReSet(Sci::Line lineNumber_, Sci::Position maxLineLength_);
void EnsureBidiData();
void Free() noexcept;
void ClearPositions();
@@ -140,6 +141,14 @@ struct ScreenLine : public IScreenLine {
XYPOSITION TabPositionAfter(XYPOSITION xPosition) const override;
};
+struct SignificantLines {
+ Sci::Line lineCaret;
+ Sci::Line lineTop;
+ Sci::Line linesOnScreen;
+ Scintilla::LineCache level;
+ bool LineMayCache(Sci::Line line) const noexcept;
+};
+
/**
*/
class LineLayoutCache {