From 092d5984e16f2d8f844dc88a417ed6f9defdf42c Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Fri, 18 Mar 2022 21:55:42 -0400 Subject: Added `move_buffer()` function and made tabs rearrangeable via drag and drop. --- docs/api.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs') 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` + +#### `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. + #### `quit`() -- cgit v1.2.3