aboutsummaryrefslogtreecommitdiff
path: root/core/.textadept.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-01-22 21:57:20 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2009-01-22 21:57:20 -0500
commitc3fa652dc8386f4165469df2c45d0789bfae74bc (patch)
treeb9e82c65e76c790e8574e8f923675975dbb9d892 /core/.textadept.lua
parent884b3c308e04c0801b9702f9fa81ebdf24b7471b (diff)
downloadtextadept-c3fa652dc8386f4165469df2c45d0789bfae74bc.tar.gz
textadept-c3fa652dc8386f4165469df2c45d0789bfae74bc.zip
Updated LuaDoc for textadept.reset() to avoid confusion; core/.textadept.lua
Diffstat (limited to 'core/.textadept.lua')
-rw-r--r--core/.textadept.lua6
1 files changed, 4 insertions, 2 deletions
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.