aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/editing.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/editing.lua
parenta65f9ac0c460fba64b2d8ddde2149661c025ea65 (diff)
downloadtextadept-ef5b94c6ee451bca8509e2d2dfc489e7fe4dec73.tar.gz
textadept-ef5b94c6ee451bca8509e2d2dfc489e7fe4dec73.zip
Updated to Scintilla 3.3.1.
Diffstat (limited to 'modules/textadept/editing.lua')
-rw-r--r--modules/textadept/editing.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua
index a782d012..2847d455 100644
--- a/modules/textadept/editing.lua
+++ b/modules/textadept/editing.lua
@@ -278,6 +278,7 @@ function M.autocomplete_word(word_chars, default_words)
end
if #c_list > 0 then
if not buffer.auto_c_choose_single or #c_list ~= 1 then
+ buffer.auto_c_order = 0 -- pre-sorted
buffer:auto_c_show(#root, table.concat(c_list, ' '))
else
-- Scintilla does not emit AUTO_C_SELECTION in this case. This is