diff options
Diffstat (limited to 'docs/api.md')
-rw-r--r-- | docs/api.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/api.md b/docs/api.md index f2c7239c..2c98084c 100644 --- a/docs/api.md +++ b/docs/api.md @@ -98,6 +98,16 @@ The path to the user's *~/.textadept/* directory, where all preferences and user ### Functions defined by `_G` +<a id="move_buffer"></a> +#### `move_buffer`(*from, to*) + +Moves the buffer at index *from* to index *to*, shifting other buffers as necessary. + +Parameters: + +* *`from`*: Index of the buffer to move. +* *`to`*: Index to move the buffer to. + <a id="quit"></a> #### `quit`() |