diff options
author | 2010-08-21 01:14:24 -0400 | |
---|---|---|
committer | 2010-08-21 01:14:24 -0400 | |
commit | f41a788cb424b31fd687253e8db3fd448a693b4a (patch) | |
tree | d733e35486108a29afcac5d84a9adfd03dcb30c4 /modules/lua/api/debug.luadoc | |
parent | 0c1718a568f4db2661ab3fc960beba22ce5ff00c (diff) | |
download | textadept-f41a788cb424b31fd687253e8db3fd448a693b4a.tar.gz textadept-f41a788cb424b31fd687253e8db3fd448a693b4a.zip |
Added Lua autocompletion support.
Diffstat (limited to 'modules/lua/api/debug.luadoc')
-rw-r--r-- | modules/lua/api/debug.luadoc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/lua/api/debug.luadoc b/modules/lua/api/debug.luadoc new file mode 100644 index 00000000..fb7c83f3 --- /dev/null +++ b/modules/lua/api/debug.luadoc @@ -0,0 +1,18 @@ +--- Enters interactive debug mode, line with only "cont" terminates. +function debug() +--- Returns current hook function, hook mask, hook count. +function gethook() +--- Returns table with information about a function. +function getinfo(function [, what]) +--- Returns name and value of local variable with index local at stack level. +function getlocal(level, local) +--- Returns name and value of upvalue with index up of function func. +function getupvalue(func, up) +--- Sets given function as a hook, mask="[crl]". +function sethook(hook, mask [, count]) +--- Sets local variable with index local at stack level with value. +function setlocal(level, local, value) +--- Sets upvalue with index up of function func with value. +function setupvalue(func, up, value) +--- Returns a string with a traceback of the call stack. +function traceback([message]) |