aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorGravatar mitchell <none@none>2021-11-30 15:53:35 -0500
committerGravatar mitchell <none@none>2021-11-30 15:53:35 -0500
commitb7362eee6553b3cc47e2ef3d00054c40863a1656 (patch)
tree638bfc5b42856db3f4fabfcb8255218ecf11679f /docs
parentee88cb2aa2b85d41b9dcb9286fd3da5b3f4e4891 (diff)
Updated Lua autocompletion and documentation.
Diffstat (limited to 'docs')
-rw-r--r--docs/api.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/api.md b/docs/api.md
index 62f8999d..8f386f95 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -6273,7 +6273,7 @@ See also:
* [`buffer.use_tabs`](#buffer.use_tabs)
<a id="textadept.editing.enclose"></a>
-#### `textadept.editing.enclose`(*left, right*)
+#### `textadept.editing.enclose`(*left, right, select*)
Encloses the selected text or the current word within strings *left* and *right*, taking
multiple selections into account.
@@ -6282,6 +6282,8 @@ Parameters:
* *`left`*: The left part of the enclosure.
* *`right`*: The right part of the enclosure.
+* *`select`*: Optional flag that indicates whether or not to keep enclosed text selected. The
+ default value is `false`.
<a id="textadept.editing.filter_through"></a>
#### `textadept.editing.filter_through`(*command*)