aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-10-08find_toggle_focus function code makes more sense; src/find_replace.cmitchell
2007-10-08command_entry visibility is toggled on focus toggle; src/textadept.cmitchell
The visibility of statusbar and doc_statusbar is also toggled.
2007-10-08Switched statusbar and docstatusbar; src/textadept.cmitchell
2007-10-08Set initial window and Scintilla window sizes to be sane; src/textadept.cmitchell
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-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-19Pressing escape anywhere in the project manager refocuses the buffer; src/pm.cmitchell
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-15Renamed handlers module to events, updated everything to reflect changes.mitchell
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-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-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-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.
2007-08-06Switched docstatusbar and statusbar; src/textadept.cmitchell
docstatusbar is now at bottom left and statusbar is at bottom right.
2007-08-06Initial import of core C files.mitchell