diff options
author | 2013-04-12 20:42:45 -0400 | |
---|---|---|
committer | 2013-04-12 20:42:45 -0400 | |
commit | ef5b94c6ee451bca8509e2d2dfc489e7fe4dec73 (patch) | |
tree | eafdbc8bbf0d552848e2b52ad78bb72efe4cb7cc /modules/textadept | |
parent | a65f9ac0c460fba64b2d8ddde2149661c025ea65 (diff) | |
download | textadept-ef5b94c6ee451bca8509e2d2dfc489e7fe4dec73.tar.gz textadept-ef5b94c6ee451bca8509e2d2dfc489e7fe4dec73.zip |
Updated to Scintilla 3.3.1.
Diffstat (limited to 'modules/textadept')
-rw-r--r-- | modules/textadept/adeptsense.lua | 1 | ||||
-rw-r--r-- | modules/textadept/editing.lua | 1 |
2 files changed, 2 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 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 |