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 /qt/ScintillaEdit/ScintillaDocument.cpp | |
parent | 391226f67e1260eb77e7d3122d43281aa6ccd5ab (diff) | |
download | scintilla-mirror-6fb4db4d6e160550a0889e209174b86e94bfe672.tar.gz |
Backport: Implement SC_DOCUMENTOPTION_STYLES_NONE.
Backport of changeset 6448:431b814a54a6.
Diffstat (limited to 'qt/ScintillaEdit/ScintillaDocument.cpp')
-rw-r--r-- | qt/ScintillaEdit/ScintillaDocument.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt/ScintillaEdit/ScintillaDocument.cpp b/qt/ScintillaEdit/ScintillaDocument.cpp index af6993ace..7a5f00786 100644 --- a/qt/ScintillaEdit/ScintillaDocument.cpp +++ b/qt/ScintillaEdit/ScintillaDocument.cpp @@ -91,7 +91,7 @@ void WatcherHelper::NotifyErrorOccurred(Document *, void *, int status) { ScintillaDocument::ScintillaDocument(QObject *parent, void *pdoc_) : QObject(parent), pdoc(pdoc_), docWatcher(0) { if (!pdoc) { - pdoc = new Document(); + pdoc = new Document(SC_DOCUMENTOPTION_DEFAULT); } docWatcher = new WatcherHelper(this); (static_cast<Document *>(pdoc))->AddRef(); |