From c89c43d9872bd4f75e89d9ef89bde2a2fc4627d3 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 8 Nov 2002 07:13:04 +0000 Subject: Copy list type into notification listType for SCN_USERLISTSELECTION. --- src/ScintillaBase.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3