From 82e9a289a6bd4956c979d2fb123025b4d4396ed5 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Sat, 19 Mar 2022 01:08:11 -0400 Subject: Updated documentation on rearranging tabs and `move_buffer()`. --- modules/lua/ta_api | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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. -- cgit v1.2.3