aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/.buffer.luadoc
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-09-01 23:20:30 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-09-01 23:20:30 -0400
commit38788d01b42165d916467f8aec84121d5c1f6fe0 (patch)
tree8e4557272ace380e372833d364859c4a7b9e6a00 /core/.buffer.luadoc
parentd633a4c74e824113f5d242cb18573fed3015bc27 (diff)
Renamed `buffer:get_style_name(n)` to `buffer.style_name[n]`.
Diffstat (limited to 'core/.buffer.luadoc')
-rw-r--r--core/.buffer.luadoc19
1 files changed, 7 insertions, 12 deletions
diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc
index 676f9c26..488422a9 100644
--- a/core/.buffer.luadoc
+++ b/core/.buffer.luadoc
@@ -774,6 +774,8 @@
-- Table of flags indicating whether or not text within styles has an italic
-- font face for style numbers from `0` to `255`.
-- The default values are `false`.
+-- @field style_name (table, Read-only)
+-- Table of style names for style numbers from `0` to `255`.
-- @field style_size (table)
-- Table of font sizes of text within styles for style numbers from `0` to
-- `255`.
@@ -2489,12 +2491,12 @@ function undo(buffer) end
function upper_case(buffer) end
---
--- Displays a list constructed from string *item_list*, whose items are
--- delimited by `buffer.auto_c_separator` characters, using the list identifier
--- number *list_type* which is greater than zero and sent in a
--- `USER_LIST_SELECTION` event after the user selects an item.
+-- Displays a list identified by list identifier number *list_item* and
+-- constructed from string *item_list*, whose items are delimited by
+-- `buffer.auto_c_separator` characters.
-- The sorted order of *item_list*, `buffer.auto_c_order`, must have already
--- been defined.
+-- been defined. When the user selects an item, *list_type* is sent in a
+-- `USER_LIST_SELECTION` event along with the selection.
-- @param buffer The global buffer.
-- @param list_type The list identifier number greater than zero to use.
-- @param item_list The sorted string of words to show, separated by
@@ -2773,13 +2775,6 @@ function get_lexer(buffer, current) end
-- @usage buffer.set_lexer(buffer, 'language_name')
function set_lexer(buffer, lang) end
----
--- Returns the name of style number *style_num*, in the range of `0` to `255`.
--- @param buffer The global buffer.
--- @param style_num The style number from `0` to `255` to get the name of.
--- @see buffer.style_at
-function get_style_name(buffer, style_num) end
-
-- Unused Fields.
-- * annotation_styles
-- * automatic_fold