From 7a340b339181d7e8981ad8d67ec07d75b2e5fa54 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 16 Jun 2012 20:52:09 +1000 Subject: Existing autocompletion list is cancelled when single entry automatically accepted. --- src/ScintillaBase.cxx | 1 + 1 file changed, 1 insertion(+) 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; } } -- cgit v1.2.3