aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditModel.h
diff options
context:
space:
mode:
authorZufu Liu <unknown>2024-05-16 21:49:11 +1000
committerZufu Liu <unknown>2024-05-16 21:49:11 +1000
commit8d4e03d3e827540d1f60e96091c0c71973910ff5 (patch)
tree965e76688da4d730e62c4d145e657ecc000e8323 /src/EditModel.h
parent6d8ede848cc9d55d2632b66017979889a5280225 (diff)
downloadscintilla-mirror-8d4e03d3e827540d1f60e96091c0c71973910ff5.tar.gz
Feature [feature-requests:#1516]. Access SpecialRepresentations through a
unique_ptr. Reduces executable size.
Diffstat (limited to 'src/EditModel.h')
-rw-r--r--src/EditModel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EditModel.h b/src/EditModel.h
index f62c28b1f..025c54389 100644
--- a/src/EditModel.h
+++ b/src/EditModel.h
@@ -27,7 +27,7 @@ public:
int xOffset; ///< Horizontal scrolled amount in pixels
bool trackLineWidth;
- SpecialRepresentations reprs;
+ std::unique_ptr<SpecialRepresentations> reprs;
Caret caret;
SelectionPosition posDrag;
Sci::Position braces[2];