Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
Earlier textadept.print() printed to the error buffer. Now it prints to its own
message buffer. Additional textadept.print() calls print to that same buffer.
|
|
Added 'local textadept = _G.textadept' to all Lua modules, themes, etc.
Added more locals to core/ext/keys.lua for speed improvement.
Reformatted some Lua modules to the earlier standard committed.
|
|
|
|
All Textadept messages are in core/locale.lua which provides the new
'textadept.locale' module.
|
|
|
|
|
|
|
|
|
|
|
|
Now editing core/events.lua's buffer_new handler function is no longer necessary
on a per-user basis. If _THEME is set, that theme's buffer.lua is loaded for a
'buffer_new' event, and view.lua for 'view_new'.
|
|
|
|
|
|
I discovered it was possible to get gtk.so to segfault with repeated
textdept.reset() commands and then invoke lua_dialog.
|
|
|
|
|
|
|
|
|
|
|
|
|