From 8533c56db1246f43917e3c56ce1d38c235a25884 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 25 May 2008 15:57:18 -0400 Subject: Added LuaDoc for textadept.reset(); core/.textadept.lua --- core/.textadept.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'core') 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 -- cgit v1.2.3