From bbac89af4ddf77349113bcc587e7046279a3a6e0 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Fri, 11 Jun 2021 14:49:08 -0400 Subject: Updated Lua autocompletion and documentation. --- core/.buffer.luadoc | 6 ++++++ core/.view.luadoc | 26 ++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) (limited to 'core') diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc index fa6e8224..5db45671 100644 --- a/core/.buffer.luadoc +++ b/core/.buffer.luadoc @@ -1274,6 +1274,12 @@ function position_relative(buffer, pos, n) end -- @param buffer A buffer. 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. 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) -- cgit v1.2.3