(31 Mar 2020)
Please see the 10 to 11 migration guide for upgrading from Textadept 10 to
Textadept 11.
Bugfixes:
- Fixed
--helpcommand line option. - Fixed Textadept API autocompletion and documentation on Windows.
- Fixed bug that regards lexer-specific snippet files as global.
- Fixed hangs on Win32 terminal version with
textadept.editing.filter_through(). - Fixed issues with buffer z-order when switching between views.
- Fixed accidental clipping of first character in a snippet under certain
circumstances. - Fixed C autocompletion error with typerefs.
- Fixed skipping of event handlers that come directly after one that was just
run, but disconnected. - Fixed bugs in the return values of
ui.dialogs.standard_dropdownandmsgbox
dialogs. - Fixed
events.FILE_CHANGEDnot emitting a filename. - Fixed bug with pipes in
textadept.editing.filter_through(). - Fixed tab label display on Windows.
- Fixed bug in syntax highlighting with PHP, Django, and other lexers that embed
themselves.
Changes:
- All buffer positions, lines, and countable entities start from 1 instead of 0.
- Support more Alt and Shift+Alt keys in the Win32 terminal version.
textadept.editing.api_filesacts as if it already has lexer tables defined.textadept.run.goto_error()wraps searches now.- Added snippet trigger autocompletion via
textadept.editing.autocomplete('snippet'). - Improved Lua API documentation generator.
- Localization keys in
_Lno longer contain GUI mnemonics ('_'). textadept.snippetsfunctions no longer have a '_' prefix.--helpcommand line options are alphabetized.- The Lua command entry can now run any
viewfunctions by name (e.g. split). - Auto-pair, type-over, and auto-deletion of matching braces now works with
multiple selections. - Removed
textadept.file_types.lexerstable in favor of asking the LPeg lexer
for known lexer names. - Updated German translation.
- Changed
textadept.bookmarks.toggle()to only toggle bookmarks on the current
line. - Removed '=' prefix in command entry that would print results; printing results
has been the default behavior for quite some time. - Replaced
buffer.style_name[]withbuffer:name_of_style(). - Session files are now Lua data files; old formats will no longer work.
- Added
events.SESSION_SAVEandevents.SESSION_LOADevents for
saving and loading custom user data to sessions. - Removed ~/.textadept/?.lua and ~/.textadept/?.{so,dll} from
package.path
andpackage.cpath, respectively. - Lua errors in Textadept can now be jumped to via double-click or Enter.
ui.dialogs.filteredlist()dialogs have a reasonable default width.- Renamed
keys.MODEtokeys.mode. - Moved individual buffer functions in
iointobuffer. - Event handlers can now return any non-
nilvalue instead of a boolean value
and have that value passed back toevents.emit(). - Lua command entry completions show images just like in Lua autocompletion.
- Align block comments by column if possible, not indent.
- Added per-mode command entry history which can be cycled through using the
UpandDownkeys. - Added
ui.dialogs.progressbar(), utilize it with Find in Files, and
removedui.find.find_in_files_timeout. - GUI find/replace history Up/Down history key bindings swapped, mimicking
traditional command line history navigation. - The statusbar now indicates an active snippet.
- Updated to PDCurses 3.9.
- Experimental set of "standard" modules is provided in the modules archive
instead of just language modules.