aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/api.md
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 /docs/api.md
parent54c6d6c45783ed03e06d4d5e931a986156a32f0e (diff)
Updated documentation on rearranging tabs and `move_buffer()`.
Diffstat (limited to 'docs/api.md')
-rw-r--r--docs/api.md8
1 files changed, 7 insertions, 1 deletions
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
<a id="move_buffer"></a>
#### `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)
+
<a id="quit"></a>
#### `quit`()