aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditModel.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-03-27 13:51:21 +1100
committerNeil <nyamatongwe@gmail.com>2018-03-27 13:51:21 +1100
commit5dc15089ae075bd105fc2b81f3b5e4fd3c03bf9f (patch)
treec1833e802e0b402af62c6c204bf9e9723ef0e3ce /src/EditModel.h
parent14673a9b38a850a8b5a94e4dd73930f22892dd0f (diff)
downloadscintilla-mirror-5dc15089ae075bd105fc2b81f3b5e4fd3c03bf9f.tar.gz
Backport: Use an interface for ContractionState so that there can be different
implementations of that interface. Backport of changeset 6656:ffa2a06d3987.
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 773309d45..f21b1509d 100644
--- a/src/EditModel.h
+++ b/src/EditModel.h
@@ -40,7 +40,7 @@ public:
int foldFlags;
int foldDisplayTextStyle;
- ContractionState cs;
+ std::unique_ptr<IContractionState> pcs;
// Hotspot support
Range hotspot;
Sci::Position hoverIndicatorPos;