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()`. --- docs/api.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docs/api.md') diff --git a/docs/api.md b/docs/api.md index 2c98084c..acbacf4c 100644 --- a/docs/api.md +++ b/docs/api.md @@ -101,13 +101,19 @@ The path to the user's *~/.textadept/* directory, where all preferences and user #### `move_buffer`(*from, to*) -Moves the buffer at index *from* to index *to*, shifting other buffers as necessary. +Moves the buffer at index *from* to index *to* in the `_BUFFERS` table, shifting other buffers +as necessary. +This changes the order buffers are displayed in in the tab bar and buffer browser. Parameters: * *`from`*: Index of the buffer to move. * *`to`*: Index to move the buffer to. +See also: + +* [`_BUFFERS`](#_BUFFERS) + #### `quit`() -- cgit v1.2.3