aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2010-02-21 23:00:30 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2010-02-21 23:00:30 -0500
commit36fcf11c41a8dd5674b67009a2f26513a054cd5a (patch)
treed74d4303c652de8d49266199265960d2854edaa2 /core
parent2457dd7ba042c5fae13d35cfd8a5886666d55b5a (diff)
downloadtextadept-36fcf11c41a8dd5674b67009a2f26513a054cd5a.tar.gz
textadept-36fcf11c41a8dd5674b67009a2f26513a054cd5a.zip
Added LuaDoc for textadept.reset()'s events; core/events.lua
Diffstat (limited to 'core')
-rw-r--r--core/events.lua7
1 files changed, 7 insertions, 0 deletions
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** ()<br />
-- Called right after [view][view] was switched to.
+-- * **reset\_before()**<br />
+-- Called before resetting the Lua state during a call to
+-- [`textadept.reset()`][textadept_reset].
+-- * **reset\_after()**<br />
+-- Called after resetting the Lua state during a call to
+-- [`textadept.reset()`][textadept_reset].
-- * **quit** ()<br />
-- Called when quitting Textadept.<br />
-- 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