aboutsummaryrefslogtreecommitdiff
path: root/src/lua_interface.c
AgeCommit message (Collapse)Author
2010-06-12Fixed bug with _BUFFERS and _VIEWS not being updated; src/lua_interface.cmitchell
Originally textadept.buffers and textadept.views were accessible through a metatable that pointed to the most up-to-date table.
2010-06-11Removed _G.textadept.mitchell
Created new _SCINTILLA core module. Renamed textadept.constants to _SCINTILLA.constants Renamed textadept.buffer_functions to _SCINTILLA.functions Renamed textadept.buffer_properties to _SCINTILLA.properties Created new gui core module. Renamed textadept._print() to gui._print(). Renamed textadept.check_focused_buffer() to gui.check_focused_buffer(). Renamed textadept.clipboard_text to gui.clipboard_text. Renamed textadept.context_menu to gui.context_menu Renamed textadept.command_entry to gui.command_entry. Renamed textadept.dialog to gui.dialog. Renamed textadept.docstatusbar_text to gui.docstatusbar_text. Renamed textadept.find to gui.find. Renamed textadept.focused_doc_pointer to gui.focused_doc_pointer. Renamed textadept.get_split_table() to gui.get_split_table(). Renamed textadept.gtkmenu() to gui.gtkmenu(). Renamed textadept.goto_view() to gui.goto_view(). Renamed textadept.menubar to gui.menubar. Renamed textadept.print() to gui.print(). Renamed textadept.size to gui.size. Renamed textadept.statusbar_text to gui.statusbar_text. Renamed textadept.switch_buffer() to gui.switch_buffer(). Renamed textadept.title to gui.title. Renamed textadept.buffers to _G._BUFFERS. Renamed textadept.new_buffer() to _G.new_buffer(). Renamed textadept.quit() to _G.quit(). Renamed textadept.reset() to _G.reset(). Renamed textadept.views to _G._VIEWS. Renamed textadept.user_dofile() to _G.user_dofile(). Renamed textadept.iconv to string.iconv. Renamed textadept.session_file to _SESSIONFILE. Renamed appropriate C functions.
2010-06-11Renamed textadept.events to events, renamed 'handle' and 'add_handler'.mitchell
2010-05-24Fixed buffer:text_range() argcheck; src/lua_interface.cmitchell
2010-04-02Added argcheck for buffer:text_range(); src/lua_interface.cmitchell
2010-03-10Removed side pane.mitchell
2010-02-21Added 'reset_before' and 'reset_after' events; src/lua_interface.cmitchell
2010-01-07Updated copyright to 2010.mitchell
2009-07-18Can cross-compile to Win32.mitchell
2009-07-15C99 allows 'int' declarations in 'for' statments.mitchell
2009-07-12Use branded Scintilla structs to remove 'using namespace Scintilla' for OSX.mitchell
2009-07-10Compile as C99.mitchell
2009-07-09Textadept now compiles as C code.mitchell
2009-07-09Code cleanup and fix memory leaks.mitchell
2009-07-08Fixed bug with gcocoadialog integration; src/lua_interface.cmitchell
2009-07-08Replace lua_dialog with gcocoadialog.mitchell
2009-07-08Extended the event system to include project manager, find, command entry, etc.mitchell
2009-06-19Use before_switch and after_switch events for buffers and views.mitchell
Moved C code for saving/restoring state when switching buffers to Lua. Also added saving of folding state.
2009-05-01Fixed Doxygen doc; src/lua_interface.cmitchell
2009-04-02Removed macro support; just use Lua for scripting.mitchell
2009-03-01Ignore null byte for specific Scintilla messages; use buffer:get_text() again.mitchell
2009-03-01Account for null bytes in strings pushed to Lua; src/lua_interface.cmitchell
2009-02-28Use UTF-8 internally and respect platform filename encoding.mitchell
Added 'textadept.iconv' function to interface with GLib's g_convert() and set global _CHARSET to be the platform's filename encoding/code page.
2009-02-15Minor refactoring, more encapsulation, and code cleanup.mitchell
2009-02-15PM browser cursors are saved and restored when switching between browsers.mitchell
2009-02-14Refactored Project Manager code.mitchell
2009-02-14Multi-depth PM cursor expands parent rows (if possible); src/lua_interface.cmitchell
2009-02-14Code cleanup.mitchell
2009-02-14Added textadept.context_menu field for a custom popup context menu.mitchell
2009-02-14Removed worthless textadept.popupmenu() function.mitchell
2009-02-08Removed ability to remove PM browsers; src/lua_interface.cmitchell
2009-02-08Added ability to remove PM browsers; src/lua_interface.cmitchell
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