diff options
author | mitchell <70453897+orbitalquark@users.noreply.github.com> | 2022-03-18 21:55:42 -0400 |
---|---|---|
committer | mitchell <70453897+orbitalquark@users.noreply.github.com> | 2022-03-18 21:55:42 -0400 |
commit | 092d5984e16f2d8f844dc88a417ed6f9defdf42c (patch) | |
tree | 1ddb8e897e06f9c85f85429e03e355c50ae298a6 /docs | |
parent | 962e738d191bc526e43eb06943280cb24ef5f82c (diff) |
Added `move_buffer()` function and made tabs rearrangeable via drag and drop.
Diffstat (limited to 'docs')
-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`() |