diff options
author | nyamatongwe <devnull@localhost> | 2002-11-08 07:13:04 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2002-11-08 07:13:04 +0000 |
commit | c89c43d9872bd4f75e89d9ef89bde2a2fc4627d3 (patch) | |
tree | d569a935d744ee2bb1207793b117c70036e8dc5b | |
parent | 413ff458ae5660d020f88f88327a23a4ef8780a6 (diff) | |
download | scintilla-mirror-c89c43d9872bd4f75e89d9ef89bde2a2fc4627d3.tar.gz |
Copy list type into notification listType for SCN_USERLISTSELECTION.
-rw-r--r-- | src/ScintillaBase.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index a5e5a065d..ab6e9a19b 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -70,7 +70,7 @@ void ScintillaBase::AddCharUTF(char *s, unsigned int len, bool treatAsDBCS) { } if (ac.Active()) { AutoCompleteCharacterAdded(s[0]); - // For fill ups add the character after the autocompletion has + // For fill ups add the character after the autocompletion has // triggered so containers see the key so can display a calltip. if (isFillUp) { Editor::AddCharUTF(s, len, treatAsDBCS); @@ -317,6 +317,7 @@ void ScintillaBase::AutoCompleteCompleted() { scn.nmhdr.code = SCN_USERLISTSELECTION; scn.message = 0; scn.wParam = listType; + scn.listType = listType; scn.lParam = 0; scn.text = userListSelected.c_str(); NotifyParent(scn); |