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
commit4a5e9654ce0c4a6cd6c1aff452f8f9344a9849a6 (patch)
tree9d2780782684b9bcc794c1100dd0a5b3010d2d97 /src
parent365542e73ee97316f4eaf1b3edc0cb6109c8a850 (diff)
downloadscintilla-mirror-4a5e9654ce0c4a6cd6c1aff452f8f9344a9849a6.tar.gz
Add documentOption argument to SCI_CREATELOADER.
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 09142e8f9..84ae3e318 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -7556,6 +7556,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);
}