aboutsummaryrefslogtreecommitdiffhomepage
path: root/core
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 /core
parentbc3e0c7ddb686413fdf0ddd11736c0f2a5eaca09 (diff)
Updated Lua autocompletion and documentation.
Diffstat (limited to 'core')
-rw-r--r--core/.buffer.luadoc6
-rw-r--r--core/.view.luadoc26
2 files changed, 32 insertions, 0 deletions
diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc
index fa6e8224..5db45671 100644
--- a/core/.buffer.luadoc
+++ b/core/.buffer.luadoc
@@ -1275,6 +1275,12 @@ function position_relative(buffer, pos, n) end
function redo(buffer) end
---
+-- Replaces the rectangular selection with string *text*.
+-- @param buffer A buffer.
+-- @param text The text to replace the rectangular selection with.
+function replace_rectangular(buffer, text) end
+
+---
-- Replaces the selected text with string *text*, scrolling the caret into view.
-- @param buffer A buffer.
-- @param text The text to replace the selected text with.
diff --git a/core/.view.luadoc b/core/.view.luadoc
index cfcba433..11a99d51 100644
--- a/core/.view.luadoc
+++ b/core/.view.luadoc
@@ -728,6 +728,32 @@
--
-- @field EDGE_NONE (number, Read-only)
--
+-- @field ELEMENT_SELECTION_TEXT (number, Read-only)
+--
+-- @field ELEMENT_SELECTION_BACK (number, Read-only)
+--
+-- @field ELEMENT_SELECTION_ADDITIONAL_TEXT (number, Read-only)
+--
+-- @field ELEMENT_SELECTION_ADDITIONAL_BACK (number, Read-only)
+--
+-- @field ELEMENT_SELECTION_SECONDARY_TEXT (number, Read-only)
+--
+-- @field ELEMENT_SELECTION_SECONDARY_BACK (number, Read-only)
+--
+-- @field ELEMENT_SELECTION_INACTIVE_TEXT (number, Read-only)
+--
+-- @field ELEMENT_SELECTION_INACTIVE_BACK (number, Read-only)
+--
+-- @field ELEMENT_CARET (number, Read-only)
+--
+-- @field ELEMENT_CARET_ADDITIONAL (number, Read-only)
+--
+-- @field ELEMENT_CARET_LINE_BACK (number, Read-only)
+--
+-- @field ELEMENT_WHITE_SPACE (number, Read-only)
+--
+-- @field ELEMENT_WHITE_SPACE_BACK (number, Read-only)
+--
-- @field FOLDACTION_CONTRACT (number, Read-only)
--
-- @field FOLDACTION_EXPAND (number, Read-only)