aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-02-08 13:34:59 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2009-02-08 13:34:59 -0500
commit33e9c58f408be3c42144b28464a029902580031d (patch)
tree6fe946e6931fd2454545dfd34ba84801b207ec33 /modules/textadept
parent25b785dfc7f125b66a6ed1fc7b661a2435dc7bf0 (diff)
downloadtextadept-33e9c58f408be3c42144b28464a029902580031d.tar.gz
textadept-33e9c58f408be3c42144b28464a029902580031d.zip
Cleaned up code, used argchecks instead of Lua errors, and enhanced stability.
Instead of throwing luaL_error() for bad arguments, use luaL_argcheck() and luaL_argerror() for more descriptive messages. Store the 'textadept' table's 'buffers', 'views', 'constants', 'buffer_functions', and 'buffer_properties' tables in the Lua registry and refer to them via metatables so that overwrites are not possible; removed 'rawset' for Lua scripts.
Diffstat (limited to 'modules/textadept')
0 files changed, 0 insertions, 0 deletions