From 36fcf11c41a8dd5674b67009a2f26513a054cd5a Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 21 Feb 2010 23:00:30 -0500 Subject: Added LuaDoc for textadept.reset()'s events; core/events.lua --- core/events.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core') diff --git a/core/events.lua b/core/events.lua index e926a615..cf522a9e 100644 --- a/core/events.lua +++ b/core/events.lua @@ -92,6 +92,12 @@ module('textadept.events', package.seeall) -- Called right before another [view][view] is switched to. -- * **view\_after\_switch** ()
-- Called right after [view][view] was switched to. +-- * **reset\_before()**
+-- Called before resetting the Lua state during a call to +-- [`textadept.reset()`][textadept_reset]. +-- * **reset\_after()**
+-- Called after resetting the Lua state during a call to +-- [`textadept.reset()`][textadept_reset]. -- * **quit** ()
-- Called when quitting Textadept.
-- Note: Any quit handlers added must be inserted at index 1 because the @@ -150,6 +156,7 @@ module('textadept.events', package.seeall) -- -- [buffer]: ../modules/buffer.html -- [view]: ../modules/view.html +-- [textadept_reset]: ../modules/textadept.html#reset -- [textadept_gtkmenu]: ../modules/textadept.html#gtkmenu -- [PM]: ../modules/textadept.pm.html -- [pm_show_menu]: ../modules/textadept.pm.html#show_context_menu -- cgit v1.2.3