aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2022-03-19 01:08:11 -0400
committerGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2022-03-19 01:08:11 -0400
commit82e9a289a6bd4956c979d2fb123025b4d4396ed5 (patch)
tree6d509b9ffa2bd5fbd4498202dfb281ce59168a60 /modules
parent54c6d6c45783ed03e06d4d5e931a986156a32f0e (diff)
Updated documentation on rearranging tabs and `move_buffer()`.
Diffstat (limited to 'modules')
-rw-r--r--modules/lua/ta_api2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lua/ta_api b/modules/lua/ta_api
index 000ca551..0c573536 100644
--- a/modules/lua/ta_api
+++ b/modules/lua/ta_api
@@ -728,7 +728,7 @@ modify buffer.modify (bool, Read-only)\nWhether or not the buffer has unsaved ch
modify_rule lexer.modify_rule(lexer, id, rule)\nReplaces in lexer *lexer* the existing rule identified by string *id* with pattern *rule*.\n@param lexer The lexer to modify.\n@param id The id associated with this rule.\n@param rule The LPeg pattern of the rule.
mouse_dwell_time view.mouse_dwell_time (number)\nThe number of milliseconds the mouse must idle before generating a `DWELL_START` event. A\ntime of `view.TIME_FOREVER` will never generate one.
mouse_selection_rectangular_switch view.mouse_selection_rectangular_switch (bool)\nWhether or not pressing `view.rectangular_selection_modifier` when selecting text\nnormally with the mouse turns on rectangular selection.\nThe default value is `false`.
-move_buffer _G.move_buffer(from, to)\nMoves the buffer at index *from* to index *to*, shifting other buffers as necessary.\n@param from Index of the buffer to move.\n@param to Index to move the buffer to.
+move_buffer _G.move_buffer(from, to)\nMoves the buffer at index *from* to index *to* in the `_BUFFERS` table, shifting other buffers\nas necessary.\nThis changes the order buffers are displayed in in the tab bar and buffer browser.\n@param from Index of the buffer to move.\n@param to Index to move the buffer to.\n@see _BUFFERS
move_caret_inside_view buffer.move_caret_inside_view(buffer)\nMoves the caret into view if it is not already, removing any selections.\n@param buffer A buffer.
move_extends_selection buffer.move_extends_selection (bool, Read-only)\nWhether or not regular caret movement alters the selected text.\n`buffer.selection_mode` dictates this property.
move_selected_lines_down buffer.move_selected_lines_down(buffer)\nShifts the selected lines down one line.\n@param buffer A buffer.