diff options
Diffstat (limited to 'core/events.lua')
-rw-r--r-- | core/events.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/events.lua b/core/events.lua index b5996baa..98a3475b 100644 --- a/core/events.lua +++ b/core/events.lua @@ -217,9 +217,17 @@ local M = {} -- @field RESET_AFTER (string) -- Emitted after resetting the 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 by [`reset()`](). +-- Arguments: +-- +-- * _`persist`_: Table to store persistent data in for use by +-- `events.RESET_AFTER`. All handlers will have access to this same table. -- @field RESUME (string) -- Emitted when resuming Textadept from a suspended state. -- This event is only emitted by the terminal version. |