aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/.buffer.luadoc2
-rw-r--r--core/.view.luadoc8
-rw-r--r--core/events.lua4
3 files changed, 8 insertions, 6 deletions
diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc
index 8253f22a..e2d45e71 100644
--- a/core/.buffer.luadoc
+++ b/core/.buffer.luadoc
@@ -834,7 +834,7 @@ function get_text(buffer) end
---
-- Moves the caret to the beginning of line number *line* and scrolls it into
--- view, regardless of whether or not *line* is hidden.
+-- view, event if *line* is hidden.
-- @param buffer A buffer.
-- @param line The line number in *buffer* to go to.
function goto_line(buffer, line) end
diff --git a/core/.view.luadoc b/core/.view.luadoc
index 11b0c6ca..8fb460de 100644
--- a/core/.view.luadoc
+++ b/core/.view.luadoc
@@ -60,7 +60,7 @@
-- @field call_tip_fore_hlt (number, Write-only)
-- A call tip's highlighted text foreground color, in "0xBBGGRR" format.
-- @field call_tip_pos_start (number, Write-only)
--- The position in which backspacing beyond it hides a visible call tip.
+-- The position at which backspacing beyond it hides a visible call tip.
-- @field call_tip_position (boolean)
-- Display a call tip above the current line instead of below it.
-- The default value is `false`.
@@ -460,7 +460,8 @@
-- The alternative string representations of characters.
-- Representations are displayed in the same way control characters are. Use
-- the empty string for the '\0' character when assigning its representation.
--- Characters are strings, not numeric codes.
+-- Characters are strings, not numeric codes, and can be multi-byte
+-- characters.
-- Call [`view.clear_representation()`]() to remove a representation.
-- @field rgba_image_height (number)
-- The height of the RGBA image to be defined using
@@ -1027,7 +1028,8 @@ function call_tip_show(view, pos, text) end
function clear_registered_images(view) end
---
--- Removes the alternate string representation for character *char*.
+-- Removes the alternate string representation for character *char* (which may
+-- be a multi-byte character).
-- @param view A view.
-- @param char The string character in `buffer.representations` to remove the
-- alternate string representation for.
diff --git a/core/events.lua b/core/events.lua
index 6f29e0a1..ddf1354c 100644
--- a/core/events.lua
+++ b/core/events.lua
@@ -231,14 +231,14 @@ local M = {}
-- * _`find_text`_: The text to search for.
-- * _`repl_text`_: The replacement text.
-- @field RESET_AFTER (string)
--- Emitted after resetting the Lua state.
+-- Emitted after resetting Textadept's Lua state.
-- Emitted by [`reset()`]().
-- Arguments:
--
-- * _`persist`_: Table of data persisted by `events.RESET_BEFORE`. All
-- handlers will have access to this same table.
-- @field RESET_BEFORE (string)
--- Emitted before resetting the Lua state.
+-- Emitted before resetting Textadept's Lua state.
-- Emitted by [`reset()`]().
-- Arguments:
--