aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-04-04 11:40:24 +1000
committernyamatongwe <unknown>2011-04-04 11:40:24 +1000
commit0f684a5b30d62ead00e955607e88558846ababe3 (patch)
treef185bc818d84161a66a8894b6f0e92e839a6a2e6 /src
parentec0a06406527e5786b7ef4a7afebced13735c9f2 (diff)
downloadscintilla-mirror-0f684a5b30d62ead00e955607e88558846ababe3.tar.gz
Updates to documentation of notifications.
Set the position field for SCN_USERLISTSELECTION and SCN_AUTOCSELECTION.
Diffstat (limited to 'src')
-rw-r--r--src/ScintillaBase.cxx1
1 files changed, 1 insertions, 0 deletions
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);