aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/api.md8
-rw-r--r--docs/manual.md5
2 files changed, 10 insertions, 3 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`()
diff --git a/docs/manual.md b/docs/manual.md
index 1aca3d02..b15ca9d7 100644
--- a/docs/manual.md
+++ b/docs/manual.md
@@ -385,8 +385,9 @@ indicates there are unsaved changes in the marked buffer. There is only one tab
entire application, even if there are multiple split views. When two or more views are open, the
state of the tab bar applies only to the active view, and using the tab bar to switch between
files also applies only to that view. Right-clicking on the tab bar brings up a configurable
-context menu that is defined by [`textadept.menu.tab_context_menu`][]. You can turn off the
-tab bar by setting [`ui.tabs`][]. For example, in your *~/.textadept/init.lua*:
+context menu that is defined by [`textadept.menu.tab_context_menu`][]. Tabs can be rearranged
+by clicking on their tops and dragging and dropping them. You can turn off the tab bar by setting
+[`ui.tabs`][]. For example, in your *~/.textadept/init.lua*:
ui.tabs = false