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
commitfb9f493960b075b034b18d61036d36f384f2e3f8 (patch)
treed30067e494888c0fc76f78b7d3f7bb78c9ffc15a /src/EditModel.h
parentccfaed3e4d322b1aebedbe5e42f315434af94459 (diff)
downloadscintilla-mirror-fb9f493960b075b034b18d61036d36f384f2e3f8.tar.gz
Use an interface for ContractionState so that there can be different
implementations of that interface.
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 6e4919bd5..eae18cacf 100644
--- a/src/EditModel.h
+++ b/src/EditModel.h
@@ -42,7 +42,7 @@ public:
int foldFlags;
int foldDisplayTextStyle;
- ContractionState cs;
+ std::unique_ptr<IContractionState> pcs;
// Hotspot support
Range hotspot;
Sci::Position hoverIndicatorPos;