diff options
author | nyamatongwe <unknown> | 2012-06-16 20:52:09 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2012-06-16 20:52:09 +1000 |
commit | 7a340b339181d7e8981ad8d67ec07d75b2e5fa54 (patch) | |
tree | d0622603d3ff4366df6bb639789cb28f2a6dddce | |
parent | e866b5b7677ab860690bda29f3cafc3f95873ee7 (diff) | |
download | scintilla-mirror-7a340b339181d7e8981ad8d67ec07d75b2e5fa54.tar.gz |
Existing autocompletion list is cancelled when single entry automatically
accepted.
-rw-r--r-- | src/ScintillaBase.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index 9d4f93c3f..d730457fd 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -213,6 +213,7 @@ void ScintillaBase::AutoCompleteStart(int lenEntered, const char *list) { pdoc->InsertString(sel.MainCaret(), list + lenEntered, lenInsert - lenEntered); SetEmptySelection(sel.MainCaret() + lenInsert - lenEntered); } + ac.Cancel(); return; } } |