From c3fa652dc8386f4165469df2c45d0789bfae74bc Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 22 Jan 2009 21:57:20 -0500 Subject: Updated LuaDoc for textadept.reset() to avoid confusion; core/.textadept.lua --- core/.textadept.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'core') diff --git a/core/.textadept.lua b/core/.textadept.lua index 2a73c374..e2da427f 100644 --- a/core/.textadept.lua +++ b/core/.textadept.lua @@ -90,8 +90,10 @@ 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. +-- Language-specific modules for opened files are NOT reloaded. Re-opening the +-- files that use them will reload those modules. +-- This function 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. -- cgit v1.2.3