aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/adeptsense.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-04-12 20:42:45 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-04-12 20:42:45 -0400
commitef5b94c6ee451bca8509e2d2dfc489e7fe4dec73 (patch)
treeeafdbc8bbf0d552848e2b52ad78bb72efe4cb7cc /modules/textadept/adeptsense.lua
parenta65f9ac0c460fba64b2d8ddde2149661c025ea65 (diff)
downloadtextadept-ef5b94c6ee451bca8509e2d2dfc489e7fe4dec73.tar.gz
textadept-ef5b94c6ee451bca8509e2d2dfc489e7fe4dec73.zip
Updated to Scintilla 3.3.1.
Diffstat (limited to 'modules/textadept/adeptsense.lua')
-rw-r--r--modules/textadept/adeptsense.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/textadept/adeptsense.lua b/modules/textadept/adeptsense.lua
index b4fe061d..74998977 100644
--- a/modules/textadept/adeptsense.lua
+++ b/modules/textadept/adeptsense.lua
@@ -586,6 +586,7 @@ function M.complete(sense, only_fields, only_functions)
buffer:register_image(1, M.FIELDS)
buffer:register_image(2, M.FUNCTIONS)
if not buffer.auto_c_choose_single or #completions ~= 1 then
+ buffer.auto_c_order = 0 -- pre-sorted
buffer:auto_c_show(#part, table.concat(completions, ' '))
else
-- Scintilla does not emit `AUTO_C_SELECTION` in this case. This is