aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-10-07Added refresh key for syntax highlighting; modules/textadept/key_commands.luamitchell
2007-10-06The run function uses textadept.print now; modules/lua/commands.luamitchell
2007-10-06Added textadept.print function that prints to the error buffer.mitchell
2007-10-06Added support for "double-click, goto error" in error buffer; core/events.luamitchell
2007-09-27Added buffer:reload() function.mitchell
2007-09-26Changed warn to be static to fix compile errors; src/textadept.hmitchell
2007-09-26Fixed focus error between multiple instances of Textadept; src/textadept.cmitchell
2007-09-24Updated documentation.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
2007-09-23Renamed l_handle_signal to l_handle_event.mitchell
2007-09-23Replaced l_handle_completion with overloaded l_handle_signal.mitchell
2007-09-23Added dynamically defined GTK menus and menubar.mitchell
2007-09-22Modified snippet key commands; modules/textadept/key_commands.luamitchell
2007-09-20Snippet "snapshots" enable backtracking; /modules/textadept/lsnippets.luamitchell
2007-09-19Pressing escape anywhere in the project manager refocuses the buffer; src/pm.cmitchell
2007-09-19Added interactive search documentation; core/ext/pm.luamitchell
2007-09-17Added usage documentation; core/ext/pm.luamitchell
2007-09-17Added core/._m.lua dummy file.mitchell
2007-09-17Fixed typo; modules/newmitchell
2007-09-06Words can be autocompleted from a specified dictionary.mitchell
2007-08-21Added events defined by modules/textadept/macros.lua to the module's LuaDoc.mitchell
2007-08-21Moved @usage LuaDocs to comment blocks inside the modules.mitchell
2007-08-21Pruned C++ code, added additional comments.mitchell
Modified C++ code structure to be more consistent throughout. Also added comments for functions that handle key events, indicating which (hard-coded) keys trigger what actions.
2007-08-16Renamed l_*_buffer_prop to l_*_bufferp, get arg changed; src/lua_interface.cmitchell
Stack index argument to l_get_buffer_prop was not intuitive because it was essentially index - 1. So after lua_getglobal(lua, "buffer"), the index arg to l_get_buffer_prop had to be -2 because the property name is pushed onto the stack before calling lua_rawget. Instead, l_get_bufferp subtracts 1 from the index it is given, so -1 can be used.
2007-08-16If l_ta_get for "views" or "buffers" fails, throw an error; src/lua_interface.cmitchell
Since l_check{view|docpointer} throw errors, the unprotected C functions that call them will cause a Lua panic if either textadept.views or textadept.buffers does not exist and Textadept will exit. This makes sense since the two tables are integral to the application. Therefore instead of checking if either table exists in those unprotected C functions and handling a failed check safely, throw an error and exit Textadept anyway because sooner or later one will be thrown from l_check{view|docpointer}.
2007-08-16Restructured modules/textadept/key_commands.luamitchell
2007-08-16Fixed 'find previous' bug; core/ext/find.luamitchell
Changeset 15 introduced an 'increment' variable that is normally +/-1 for find next and find prev respectively. However instead of adding the increment for find prev, it subtracts it, effectively adding 1 which is not right.
2007-08-15Recent files are now tracked and a user list can be shown to open them.mitchell
2007-08-15Renamed handlers module to events, updated everything to reflect changes.mitchell
2007-08-15Fixed spelling and grammatical mistakes; core/.buffer.luamitchell
2007-08-15Searching in pm_view now uses strstr; src/pm.cmitchell
Instead of the normal tree view search function which matches the start of a string, a new search function is used which uses strstr, matching anywhere in a string.
2007-08-15Added extensive @usage LuaDoc like in lsnippets; modules/textadept/keys.luamitchell
2007-08-15Added new lsnippets textadept module, updated other modules to use it.mitchell
2007-08-14Fixed bug in maintaining indentation; core/handlers.luamitchell
Adapted conditionals from SciTE to fix a bug where the caret is sometimes placed incorrectly when trying to maintain indentation.
2007-08-11Textadept title also shows full filepath of the open buffer; core/handlers.luamitchell
2007-08-11MLines' update is now a single undo action; modules/textadept/mlines.luamitchell
2007-08-11Fixed escapes in replace, added %() sequence; core/ext/find.luamitchell
'%%' is now properly escaped. %() sequence executes Lua code, showing an error dialog if one occured.
2007-08-11Fixed bug in restoring scroll position on buffer switching; src/lua_interface.cmitchell
When switching to another buffer, typing text, and switching back, the scroll position was not restored properly all of the time. Fixed by setting the anchor and caret first, which scrolls some number of lines, then scrolling the remaining number of lines to restore the original scroll position.
2007-08-11Improved LuaDoc for _m.textadept.keys; modules/textadept/keys.luamitchell
2007-08-10Renamed textadept.handlers' add_function_to_handler to add_handler_function.mitchell
2007-08-10Added 'warn' function for printing warnings to STDOUT; src/lua_interface.cmitchell
Instead of raising errors which call Lua's textadept.handlers.error function (which at this point in time opens a new buffer and prints the error message), quietly print warnings to STDOUT because an error hasn't really occured.
2007-08-10Macros can now be recorded, saved, played, browsed, etc.mitchell
2007-08-09Can use selected_text inside a snippet; modules/textadept/snippets.luamitchell
Originally just the global environment was available for executing Lua code in snippets, but now a 'selected_text' variable is available for (key) commands that insert snippets. This is typically useful for wrapping selected text in a snippet.
2007-08-09Removed unnecessary LuaDoc; modules/textadept/snippets.luamitchell
Option variables for file in/out, redirect, and Ruby are not longer used.
2007-08-09Renamed modules global to _m.mitchell
2007-08-09Improved completion of buffer functions and properties; core/handlers.luamitchell
Each buffer function or property is matched to prefix before being added to the completion list.
2007-08-09Added new LuaDoc, updated existing LuaDoc to be more consistent.mitchell
2007-08-09'replace_all' doesn't loop infinitely, 'find' more accurate; core/ext/find.luamitchell
'find' has an additional nowrap parameter that 'replace_all' uses so the latter will not loop indefinately if there are still matches in the document. 'find' also sets search_anchor more appropriately based on context so some matches aren't skipped accidentally.
2007-08-09tLENGTH and tSTRINGRESULT parameters are handled properly; src/lua_interface.cmitchell
If p1_type == tLENGTH and p2_type == tSTRINGRESULT, both parameters can be ignored because p1_type is filled with the length of p2_type, which is not needed.