diff options
author | 2008-05-25 15:57:18 -0400 | |
---|---|---|
committer | 2008-05-25 15:57:18 -0400 | |
commit | 8533c56db1246f43917e3c56ce1d38c235a25884 (patch) | |
tree | 7dfa910b59bcb30b4b4ecc6ad67dc5b9c56025f2 /core/.textadept.lua | |
parent | 48d18bad52e530b0aa5b8f253dd3055fd0c7fabc (diff) | |
download | textadept-8533c56db1246f43917e3c56ce1d38c235a25884.tar.gz textadept-8533c56db1246f43917e3c56ce1d38c235a25884.zip |
Added LuaDoc for textadept.reset(); core/.textadept.lua
Diffstat (limited to 'core/.textadept.lua')
-rw-r--r-- | core/.textadept.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/.textadept.lua b/core/.textadept.lua index db628ce3..011c70aa 100644 --- a/core/.textadept.lua +++ b/core/.textadept.lua @@ -89,3 +89,9 @@ function check_focused_buffer(buffer) end --- -- Prints a message to the error buffer. 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. +function reset() end |