diff options
author | Neil <nyamatongwe@gmail.com> | 2018-02-02 14:34:55 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-02-02 14:34:55 +1100 |
commit | 6fb4db4d6e160550a0889e209174b86e94bfe672 (patch) | |
tree | df35b50ed6448f772c2288990c3f6332b6243d49 /src/EditModel.cxx | |
parent | 391226f67e1260eb77e7d3122d43281aa6ccd5ab (diff) | |
download | scintilla-mirror-6fb4db4d6e160550a0889e209174b86e94bfe672.tar.gz |
Backport: Implement SC_DOCUMENTOPTION_STYLES_NONE.
Backport of changeset 6448:431b814a54a6.
Diffstat (limited to 'src/EditModel.cxx')
-rw-r--r-- | src/EditModel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EditModel.cxx b/src/EditModel.cxx index 7dfd90e37..f7f73e178 100644 --- a/src/EditModel.cxx +++ b/src/EditModel.cxx @@ -68,7 +68,7 @@ EditModel::EditModel() { hotspot = Range(Sci::invalidPosition); hoverIndicatorPos = Sci::invalidPosition; wrapWidth = LineLayout::wrapWidthInfinite; - pdoc = new Document(); + pdoc = new Document(SC_DOCUMENTOPTION_DEFAULT); pdoc->AddRef(); } |