From 0f684a5b30d62ead00e955607e88558846ababe3 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 4 Apr 2011 11:40:24 +1000 Subject: Updates to documentation of notifications. Set the position field for SCN_USERLISTSELECTION and SCN_AUTOCSELECTION. --- src/ScintillaBase.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index 9467025e8..0e6ecc8b7 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -349,6 +349,7 @@ void ScintillaBase::AutoCompleteCompleted() { scn.wParam = listType; scn.listType = listType; Position firstPos = ac.posStart - ac.startLen; + scn.position = firstPos; scn.lParam = firstPos; scn.text = selected; NotifyParent(scn); -- cgit v1.2.3