aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditModel.cxx
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.cxx
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.cxx')
-rw-r--r--src/EditModel.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/EditModel.cxx b/src/EditModel.cxx
index 7a6c098ed..53301e428 100644
--- a/src/EditModel.cxx
+++ b/src/EditModel.cxx
@@ -69,6 +69,7 @@ EditModel::EditModel() {
wrapWidth = LineLayout::wrapWidthInfinite;
pdoc = new Document(SC_DOCUMENTOPTION_DEFAULT);
pdoc->AddRef();
+ pcs = ContractionStateCreate();
}
EditModel::~EditModel() {