diff options
author | Zufu Liu <unknown> | 2024-05-16 21:49:11 +1000 |
---|---|---|
committer | Zufu Liu <unknown> | 2024-05-16 21:49:11 +1000 |
commit | 8d4e03d3e827540d1f60e96091c0c71973910ff5 (patch) | |
tree | 965e76688da4d730e62c4d145e657ecc000e8323 /src/EditModel.cxx | |
parent | 6d8ede848cc9d55d2632b66017979889a5280225 (diff) | |
download | scintilla-mirror-8d4e03d3e827540d1f60e96091c0c71973910ff5.tar.gz |
Feature [feature-requests:#1516]. Access SpecialRepresentations through a
unique_ptr. Reduces executable size.
Diffstat (limited to 'src/EditModel.cxx')
-rw-r--r-- | src/EditModel.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/EditModel.cxx b/src/EditModel.cxx index dd441322e..13b3da5b0 100644 --- a/src/EditModel.cxx +++ b/src/EditModel.cxx @@ -77,6 +77,7 @@ EditModel::EditModel() : braces{} { hotspotSingleLine = true; hoverIndicatorPos = Sci::invalidPosition; wrapWidth = LineLayout::wrapWidthInfinite; + reprs = std::make_unique<SpecialRepresentations>(); pdoc = new Document(DocumentOption::Default); pdoc->AddRef(); pcs = ContractionStateCreate(pdoc->IsLarge()); |