aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ScintillaBase.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-04-04 11:40:24 +1000
committernyamatongwe <devnull@localhost>2011-04-04 11:40:24 +1000
commit388ec20b8e3578a13dbc63ef3736d8cecd547ae1 (patch)
tree94a2ccbe293f3d2dc319d4530728ad341bf713aa /src/ScintillaBase.cxx
parent5b491fb6124522b148a16dd026e563c90af316db (diff)
downloadscintilla-mirror-388ec20b8e3578a13dbc63ef3736d8cecd547ae1.tar.gz
Updates to documentation of notifications.
Set the position field for SCN_USERLISTSELECTION and SCN_AUTOCSELECTION.
Diffstat (limited to 'src/ScintillaBase.cxx')
-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);