aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/api.md
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2021-06-11 14:49:08 -0400
committerGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2021-06-11 14:49:08 -0400
commitbbac89af4ddf77349113bcc587e7046279a3a6e0 (patch)
tree2898dc7bc64314858edaabeb7f711920b1b9acf9 /docs/api.md
parentbc3e0c7ddb686413fdf0ddd11736c0f2a5eaca09 (diff)
Updated Lua autocompletion and documentation.
Diffstat (limited to 'docs/api.md')
-rw-r--r--docs/api.md93
1 files changed, 91 insertions, 2 deletions
diff --git a/docs/api.md b/docs/api.md
index 2806ab74..706b7ace 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -1,4 +1,4 @@
-## Textadept 11.2 beta 2 API Documentation
+## Textadept 11.2 beta 3 API Documentation
1. [_G](#_G)
1. [_L](#_L)
@@ -2938,6 +2938,16 @@ Parameters:
* *`buffer`*: A buffer.
+<a id="buffer.replace_rectangular"></a>
+#### `buffer.replace_rectangular`(*buffer, text*)
+
+Replaces the rectangular selection with string *text*.
+
+Parameters:
+
+* *`buffer`*: A buffer.
+* *`text`*: The text to replace the rectangular selection with.
+
<a id="buffer.replace_sel"></a>
#### `buffer.replace_sel`(*buffer, text*)
@@ -6282,7 +6292,8 @@ may contain shell pipes ('|').
Standard input is as follows:
1. If no text is selected, the entire buffer is used.
-2. If text is selected and spans a single line, only the selected text is used.
+2. If text is selected and spans a single line, is a multiple selection, or is a rectangular
+ selection, only the selected text is used.
3. If text is selected and spans multiple lines, all text on the lines that have text selected
is passed as stdin. However, if the end of the selection is at the beginning of a line,
only the line ending delimiters from the previous line are included. The rest of the line
@@ -8774,6 +8785,84 @@ initial values for all views.
+<a id="view.ELEMENT_CARET"></a>
+#### `view.ELEMENT_CARET` (number, Read-only)
+
+
+
+
+<a id="view.ELEMENT_CARET_ADDITIONAL"></a>
+#### `view.ELEMENT_CARET_ADDITIONAL` (number, Read-only)
+
+
+
+
+<a id="view.ELEMENT_CARET_LINE_BACK"></a>
+#### `view.ELEMENT_CARET_LINE_BACK` (number, Read-only)
+
+
+
+
+<a id="view.ELEMENT_SELECTION_ADDITIONAL_BACK"></a>
+#### `view.ELEMENT_SELECTION_ADDITIONAL_BACK` (number, Read-only)
+
+
+
+
+<a id="view.ELEMENT_SELECTION_ADDITIONAL_TEXT"></a>
+#### `view.ELEMENT_SELECTION_ADDITIONAL_TEXT` (number, Read-only)
+
+
+
+
+<a id="view.ELEMENT_SELECTION_BACK"></a>
+#### `view.ELEMENT_SELECTION_BACK` (number, Read-only)
+
+
+
+
+<a id="view.ELEMENT_SELECTION_INACTIVE_BACK"></a>
+#### `view.ELEMENT_SELECTION_INACTIVE_BACK` (number, Read-only)
+
+
+
+
+<a id="view.ELEMENT_SELECTION_INACTIVE_TEXT"></a>
+#### `view.ELEMENT_SELECTION_INACTIVE_TEXT` (number, Read-only)
+
+
+
+
+<a id="view.ELEMENT_SELECTION_SECONDARY_BACK"></a>
+#### `view.ELEMENT_SELECTION_SECONDARY_BACK` (number, Read-only)
+
+
+
+
+<a id="view.ELEMENT_SELECTION_SECONDARY_TEXT"></a>
+#### `view.ELEMENT_SELECTION_SECONDARY_TEXT` (number, Read-only)
+
+
+
+
+<a id="view.ELEMENT_SELECTION_TEXT"></a>
+#### `view.ELEMENT_SELECTION_TEXT` (number, Read-only)
+
+
+
+
+<a id="view.ELEMENT_WHITE_SPACE"></a>
+#### `view.ELEMENT_WHITE_SPACE` (number, Read-only)
+
+
+
+
+<a id="view.ELEMENT_WHITE_SPACE_BACK"></a>
+#### `view.ELEMENT_WHITE_SPACE_BACK` (number, Read-only)
+
+
+
+
<a id="view.FOLDACTION_CONTRACT"></a>
#### `view.FOLDACTION_CONTRACT` (number, Read-only)