diff options
author | 2008-07-08 19:32:46 -0400 | |
---|---|---|
committer | 2008-07-08 19:32:46 -0400 | |
commit | 3055a8d7c9e288ab834542fe8bae6bf5f4a694a8 (patch) | |
tree | 479e3542e1325772b76fec4bbeb6d0592d98685d | |
parent | f5b349e8ca6ef0f0e77f98c66c9eab88b3490a66 (diff) | |
download | textadept-3055a8d7c9e288ab834542fe8bae6bf5f4a694a8.tar.gz textadept-3055a8d7c9e288ab834542fe8bae6bf5f4a694a8.zip |
Updated LuaDoc for textadept.reset function; core/.textadept.lua
-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 |