Age | Commit message (Collapse) | Author |
|
|
|
Adapted conditionals from SciTE to fix a bug where the caret is sometimes placed
incorrectly when trying to maintain indentation.
|
|
|
|
|
|
'%%' is now properly escaped.
%() sequence executes Lua code, showing an error dialog if one occured.
|
|
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.
|
|
|
|
|
|
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.
|
|
|
|
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.
|
|
Option variables for file in/out, redirect, and Ruby are not longer used.
|
|
|
|
Each buffer function or property is matched to prefix before being added to the
completion list.
|
|
|
|
'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.
|
|
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.
|
|
Added SCN notification constants to textadept.constants table and updated the
filepath to iface.lua to reflect the new directory structure.
|
|
docstatusbar_text now uses 4 spaces instead of pipes for separation.
Command completion entries are sorted and the ':' character is allowed. If the
path is 'buffer', show the available functions or properties depending on if
'buffer' is followed by a '.' or ':' in addition to its table fields.
|
|
docstatusbar is now at bottom left and statusbar is at bottom right.
|
|
Shebangs are split into words which are looked up in a shebangs table to
determine the proper lexer language for the buffer.
|
|
When the path to the Textadept executable is not specified, base_dir is nil.
Attempting to concat it with a filename throws an error, so base_dir defaults
to the empty string.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|