diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/api.md | 4 |
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*) |