aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-01-26 11:12:10 +1100
committerNeil <nyamatongwe@gmail.com>2018-01-26 11:12:10 +1100
commit0a538f989da53970ddb3776778d87230c7929e6d (patch)
tree413ac49763c346e3300217764d5418dd4e1567a4 /src
parent9a59853e7ebfa5118854260fe543ba3e09427563 (diff)
downloadscintilla-mirror-0a538f989da53970ddb3776778d87230c7929e6d.tar.gz
Backport: Add documentOption argument to SCI_CREATELOADER.
Backport of changeset 6441:92c8f0f1b3e6.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index f997181ad..a292a957c 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -7547,6 +7547,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
case SCI_CREATEDOCUMENT: {
Document *doc = new Document();
doc->AddRef();
+ doc->Allocate(static_cast<int>(wParam));
return reinterpret_cast<sptr_t>(doc);
}