aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.h
diff options
context:
space:
mode:
authorZufu Liu <unknown>2025-05-25 10:14:33 +1000
committerZufu Liu <unknown>2025-05-25 10:14:33 +1000
commit12f6ca53a028a72028b345e6fb3d181c47b66105 (patch)
tree18ec874ee6fc91c4bce1fd7c5a3be2c149f3c040 /src/PositionCache.h
parentaca9ce76597949b0429caa882df164702cdb92b0 (diff)
downloadscintilla-mirror-12f6ca53a028a72028b345e6fb3d181c47b66105.tar.gz
Feature [feature-requests:#1557]. Simplify LineLayout deallocation.
Diffstat (limited to 'src/PositionCache.h')
-rw-r--r--src/PositionCache.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/PositionCache.h b/src/PositionCache.h
index 4b35ec092..b912c2fcc 100644
--- a/src/PositionCache.h
+++ b/src/PositionCache.h
@@ -76,16 +76,9 @@ public:
XYPOSITION wrapIndent; // In pixels
LineLayout(Sci::Line lineNumber_, int maxLineLength_);
- // Deleted so LineLayout objects can not be copied.
- LineLayout(const LineLayout &) = delete;
- LineLayout(LineLayout &&) = delete;
- void operator=(const LineLayout &) = delete;
- 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();
void Invalidate(ValidLevel validity_) noexcept;
Sci::Line LineNumber() const noexcept;