diff options
author | 2013-04-12 20:42:45 -0400 | |
---|---|---|
committer | 2013-04-12 20:42:45 -0400 | |
commit | ef5b94c6ee451bca8509e2d2dfc489e7fe4dec73 (patch) | |
tree | eafdbc8bbf0d552848e2b52ad78bb72efe4cb7cc /core/.buffer.luadoc | |
parent | a65f9ac0c460fba64b2d8ddde2149661c025ea65 (diff) | |
download | textadept-ef5b94c6ee451bca8509e2d2dfc489e7fe4dec73.tar.gz textadept-ef5b94c6ee451bca8509e2d2dfc489e7fe4dec73.zip |
Updated to Scintilla 3.3.1.
Diffstat (limited to 'core/.buffer.luadoc')
-rw-r--r-- | core/.buffer.luadoc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc index f56cbc31..248d90b6 100644 --- a/core/.buffer.luadoc +++ b/core/.buffer.luadoc @@ -107,6 +107,20 @@ -- lists. -- The default value is `0`, which automatically sizes the list to fit the -- longest item. +-- @field auto_c_order (number) +-- The order setting for autocompletion lists. +-- +-- * `_SCINTILLA.constants.SC_ORDER_PRESORTED` (0) +-- Autocompletion lists passed to [`buffer.auto_c_show`](#auto_c_show) are +-- in sorted alphabetical order. +-- * `_SCINTILLA.constants.SC_ORDER_PERFORMSORT` (1) +-- Scintilla should sort autocompletion lists passed to +-- [`buffer.auto_c_show`](#auto_c_show). +-- * `_SCINTILLA.constants.SC_ORDER_CUSTOM` (2) +-- Autocompletion lists passed to [`buffer.auto_c_show`](#auto_c_show) are +-- sorted in a custom order. +-- +-- The default value is `0`. -- @field auto_c_separator (number) -- The character byte that separates autocompletion list items. -- The default value is `32` (' '). @@ -1066,6 +1080,8 @@ function auto_c_select(buffer, string) end -- are delimited by `buffer.auto_c_separator` characters, using *len_entered* -- number of characters behind the caret as the prefix of the word to -- autocomplete. +-- The sorted order of *item_list*, `buffer.auto_c_order`, must be already +-- defined. -- @param buffer The global buffer. -- @param len_entered The number of characters before the caret used to provide -- the context. |