From c352e1e45b98f31fc0fb67c7296c7ada77732777 Mon Sep 17 00:00:00 2001
From: mitchell <70453897+orbitalquark@users.noreply.github.com>
Date: Mon, 30 Nov 2020 11:04:27 -0500
Subject: Updated LuaDoc.
---
docs/api.md | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
(limited to 'docs')
diff --git a/docs/api.md b/docs/api.md
index f56dd0f5..47563602 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -2166,7 +2166,7 @@ Parameters:
#### `buffer.goto_line`(*buffer, line*)
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.
Parameters:
@@ -4100,7 +4100,7 @@ Emitted to replace all occurrences of found text.
#### `events.RESET_AFTER` (string)
-Emitted after resetting the Lua state.
+Emitted after resetting Textadept's Lua state.
Emitted by [`reset()`](#reset).
Arguments:
@@ -4110,7 +4110,7 @@ Emitted after resetting the Lua state.
#### `events.RESET_BEFORE` (string)
-Emitted before resetting the Lua state.
+Emitted before resetting Textadept's Lua state.
Emitted by [`reset()`](#reset).
Arguments:
@@ -10018,7 +10018,7 @@ A call tip's highlighted text foreground color, in "0xBBGGRR" format.
#### `view.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.
#### `view.call_tip_position` (boolean)
@@ -10592,7 +10592,8 @@ The modifier key used in combination with a mouse drag in order to create a
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()`](#view.clear_representation) to remove a representation.
@@ -10996,7 +10997,8 @@ Parameters:
#### `view.clear_representation`(*view, char*)
-Removes the alternate string representation for character *char*.
+Removes the alternate string representation for character *char* (which may
+ be a multi-byte character).
Parameters:
--
cgit v1.2.3