From 3055a8d7c9e288ab834542fe8bae6bf5f4a694a8 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 8 Jul 2008 19:32:46 -0400 Subject: Updated LuaDoc for textadept.reset function; core/.textadept.lua --- core/.textadept.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/.textadept.lua b/core/.textadept.lua index 7807c70b..07d1f436 100644 --- a/core/.textadept.lua +++ b/core/.textadept.lua @@ -90,4 +90,7 @@ function print(...) end -- Resets the Lua state by reloading all init scripts. -- This is useful for modifying init scripts (such as key_commands.lua) on the -- fly without having to restart Textadept. +-- A global RESETTING variable is set to true when re-initing the Lua State. Any +-- scripts that need to differentiate between startup and reset can utilize this +-- variable. function reset() end -- cgit v1.2.3