diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/.textadept.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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 |