aboutsummaryrefslogtreecommitdiff
path: root/src/lua_interface.c
AgeCommit message (Collapse)Author
2009-02-08Removed buffer:find() function.mitchell
2009-02-08Cleaned up code, used argchecks instead of Lua errors, and enhanced stability.mitchell
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.
2009-02-05Fixed a bug and added enhancements to Find in Files.mitchell
Double-clicking a search result will open the file in the previous view (if it exists) rather than clobbering the current one. Also added the find text to the output.
2009-02-05Handle an empty clipboard properly; src/lua_interface.cmitchell
2009-01-28Fixed some casts for compilation on 64-bit machines.mitchell
2009-01-27Encapsulate cec_store so it's not global.mitchell
2009-01-27Use a combo entry to either type in or select a PM browser to use.mitchell
2009-01-27Changed cec_store from GtkTreeStore type to GtkListStore.mitchell
2009-01-26Menu label text is irrelevant for menu actions due to l10n; focus on menu_id.mitchell
2009-01-26Menu label text is irrelevant for PM menu actions due to l10n; focus on menu_id.mitchell
2009-01-26Use GTK Dialog for WIN32, not MessageBox; src/lua_interface.cmitchell
2009-01-26Call gtk_widget_destroy on dialog to close it; src/lua_interface.cmitchell
2009-01-25The cursor in the Project Manager can be set through textadept.pm.cursor.mitchell
2009-01-24Added Find in Files support.mitchell
2009-01-08Reformatted all C and Lua code to a single standard for each language.mitchell
2009-01-03Added localization support.mitchell
All Textadept messages are in core/locale.lua which provides the new 'textadept.locale' module.
2009-01-01Updated copyright dates for 2009.mitchell
2008-12-30Updated Doxygen doc for src/lua_interface.cmitchell
2008-12-22Fixed bugs in macros and macro browser.mitchell
2008-12-21Finally added ability to quit Textadept from Lua.mitchell
2008-12-04Use lua_checklong macro instead of checknumber with cast; src/lua_interface.cmitchell
2008-11-11Find functionality is mostly handled by Lua now.mitchell
2008-11-08Added Lua interface functions to mimick find box button presses.mitchell
2008-11-02Fixed typo in src/lua_interface.c for compiling on Mac.mitchell
2008-11-01Added support for some AppleEvents, use Scintilla namespace on OSX.mitchell
2008-10-27Updated Textadept to compile and run on OSX with native GTK framework.mitchell
2008-09-24Added textadept.size property.mitchell
2008-09-23Updated Doxygen docs.mitchell
2008-09-23Merged overloaded 'l_handle_event' functions into one with default parameter.mitchell
2008-09-23Merged 'set_docstatusbar_text' function into 'set_statusbar_text' with a flag.mitchell
2008-09-23If view.size is given a negative number, make it zero; src/lua_interface.cmitchell
2008-09-21Edited code to suppress warnings generated by MSVC++; src/lua_interface.cmitchell
2008-09-21Textadept gracefully exits when errors occur in core/init.lua.mitchell
Originally the error message was displayed in Textadept, but any attempts to close the program would fail because core/init.lua wasn't properly loaded. Errors from 'l_load_script' are displayed in a dialog box now.
2008-09-21Code cleanup.mitchell
2008-09-19Added preliminary support for Textadept on Windows.mitchell
2008-06-19l_handle_event should return false if function check fails; src/lua_interface.cmitchell
2008-06-18Check that 'pixbuf' key is not nil in l_pm_populate; src/lua_interface.cmitchell
2008-06-18Fixed gtktreestore.c warning by ending columns with -1; src/lua_interface.cmitchell
2008-06-17Added Tab-completion to Lua Command Entry.mitchell
2008-06-15Eliminated build warnings.mitchell
2008-06-15Added doxygen documentation to source files.mitchell
2008-03-03Updated copyright notice to include the year 2008.mitchell
2008-02-29Fixed typo; src/lua_interface.cmitchell
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-12-21Source code cleanup; src/lua_interface.cmitchell
2007-11-30Warn that pm_view content item ID is a string type; src/lua_interface.cmitchell
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-23Rearranged and cleaned up src/lua_interface.c; moved warn to src/textadept.h.mitchell
2007-09-23Added textadept.popupmenu function; src/lua_interface.cmitchell