aboutsummaryrefslogtreecommitdiff
path: root/src/lua_interface.c
AgeCommit message (Collapse)Author
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-06Initial import of core C files.mitchell