aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-11-08 07:13:04 +0000
committernyamatongwe <unknown>2002-11-08 07:13:04 +0000
commit6d19142a58b6820750096c2b99af987bc38c53f2 (patch)
treed569a935d744ee2bb1207793b117c70036e8dc5b /src
parent3652c32c4304650eb69430a6a63234784ed87825 (diff)
downloadscintilla-mirror-6d19142a58b6820750096c2b99af987bc38c53f2.tar.gz
Copy list type into notification listType for SCN_USERLISTSELECTION.
Diffstat (limited to 'src')
-rw-r--r--src/ScintillaBase.cxx3
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);