diff options
author | 2020-07-16 17:25:51 -0400 | |
---|---|---|
committer | 2020-07-16 17:25:51 -0400 | |
commit | b35a8dd225b06340022c4971471952c48380b1db (patch) | |
tree | e834bfb5b7767296f2a7bfaabde3aa99b88cf98f /core/events.lua | |
parent | 3eb130fd2ef73745b2b9f796abbce7bdd2b88632 (diff) | |
download | textadept-b35a8dd225b06340022c4971471952c48380b1db.tar.gz textadept-b35a8dd225b06340022c4971471952c48380b1db.zip |
Minor LuaDoc updates and spelling corrections.
Diffstat (limited to 'core/events.lua')
-rw-r--r-- | core/events.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/events.lua b/core/events.lua index bdef3cc9..34943e1d 100644 --- a/core/events.lua +++ b/core/events.lua @@ -46,7 +46,7 @@ local M = {} -- @field AUTO_C_SELECTION (string) -- Emitted after selecting an item from an autocompletion list, but before -- inserting that item into the buffer. --- Automatic insertion can be cancelled by calling +-- Automatic insertion can be canceled by calling -- [`buffer:auto_c_cancel()`]() before returning from the event handler. -- Arguments: -- @@ -71,6 +71,7 @@ local M = {} -- Emitted by [`buffer.delete()`](). -- @field BUFFER_NEW (string) -- Emitted after creating a new buffer. +-- The new buffer is `buffer`. -- Emitted on startup and by [`buffer.new()`](). -- @field CALL_TIP_CLICK (string) -- Emitted when clicking on a calltip. @@ -288,6 +289,7 @@ local M = {} -- * _`position`_: The position the list was displayed at. -- @field VIEW_NEW (string) -- Emitted after creating a new view. +-- The new view is `view`. -- Emitted on startup and by [`view.split()`](). -- @field VIEW_BEFORE_SWITCH (string) -- Emitted right before switching to another view. |