aboutsummaryrefslogtreecommitdiff
path: root/core/.textadept.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2008-05-25 15:57:18 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2008-05-25 15:57:18 -0400
commit8533c56db1246f43917e3c56ce1d38c235a25884 (patch)
tree7dfa910b59bcb30b4b4ecc6ad67dc5b9c56025f2 /core/.textadept.lua
parent48d18bad52e530b0aa5b8f253dd3055fd0c7fabc (diff)
downloadtextadept-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.lua6
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