aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.h
AgeCommit message (Collapse)Author
2008-03-03Updated copyright notice to include the year 2008.mitchell
2008-02-03Added textadept.reset() function for resetting the Lua state.mitchell
The l_init function takes an additional reinit boolean as a result. When resetting, the package.loaded and _G tables are cleared. Since the textadept.buffers, textadept.views, and arg tables were originally in _G, they were moved to the LUA_REGISTRYINDEX table so as not to be lost. They are still available in _G, but as links to the tables in LUA_REGISTRYINDEX. textadept.reset() sets a global RESETTING boolean to true when init.lua is re-run so things like reloading a session or reloading files from the command line do not occur. The boolean is set to nil afterwards.
2007-11-08Moved GTK/GDK keypress mask logic from lua_interface.c to textadept.c.mitchell
2007-11-03Various reformatting for consistency.mitchell
2007-09-26Changed warn to be static to fix compile errors; src/textadept.hmitchell
2007-09-23Rearranged and cleaned up src/lua_interface.c; moved warn to src/textadept.h.mitchell
2007-09-23Renamed l_handle_signal to l_handle_event.mitchell
2007-09-23Added dynamically defined GTK menus and menubar.mitchell
2007-08-06Initial import of core C files.mitchell