From 3f1c1f5fe73d9fe48af8ffc2f0dbf2107d65cf52 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 2 Feb 2018 14:34:55 +1100 Subject: Implement SC_DOCUMENTOPTION_STYLES_NONE. --- qt/ScintillaEdit/ScintillaDocument.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt') diff --git a/qt/ScintillaEdit/ScintillaDocument.cpp b/qt/ScintillaEdit/ScintillaDocument.cpp index 1ba39be32..5e80a33bd 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(pdoc))->AddRef(); -- cgit v1.2.3