(01 Aug 2020)
Please see the 10 to 11 migration guide for upgrading from Textadept 10 to
Textadept 11.
Bugfixes:
- Fixed toggling of Find & Replace Pane visibility with
ui.find.focus()
. - Fixed potential hangs with
os.spawn()
in the terminal version. - Fixed
--line
command line switch. - Fixed
ui.dialogs.optionselect()
'stext
option. - Call
os.spawn()
exit callback afterproc:wait()
. - Fixed an instance of buffer selection data not being saved to a session.
- Fixed initial setting of
ui.find.replace_entry_text
in the GUI. - Fixed
keys.keychain[i]
access if its length ever exceeded 1. - Modules: Fixed custom Lua regex for generating Ctags.
- Modules: Fixed file comparison colors in the terminal version.
- Modules: Fixed many bugs in file comparison and merging.
- Modules: Fixed export of styles defined only in lexers.
- Scintilla: Fixed crash when lexer.lua cannot be found.
- Scintilla: Fixed crash when setting a style with no token.
Changes:
- Renamed
buffer:set_theme()
toview:set_theme()
. - Replaced
lfs.dir_foreach()
withlfs.walk()
generator. - Renamed some buffer/view fields to use American English instead of Australian
English (e.g. "colour" to "color"). - Changed key binding modifier keys from
c
(Ctrl),m
(Meta/Command),a
(Alt), ands
(Shift) toctrl
,meta
/cmd
,alt
, andshift
,
respectively. - Renamed
ui.bufstatusbar_text
toui.buffer_statusbar_text
. - Only save before compile/run if the buffer has been modified.
- Added support for Fennel.
- Added
buffer:style_of_name()
as an analogue tobuffer:name_of_style()
. - When requiring modules, read from
LUA_PATH
andLUA_CPATH
environment
variables instead ofTA_LUA_PATH
andTA_LUA_CPATH
. ui.goto_file_found()
andtextadept.run.goto_error()
arguments are now
optional.- Moved Find Incremental into the Find & Replace pane (via
ui.find.incremental
), eliminatedui.find.find_incremental()
and
ui.find.find_incremental_keys
, and addedevents.FIND_TEXT_CHANGED
. - Replaced
textadept.editing.highlight_word()
with
textadept.editing.highlight_words
auto-highlighting option. - Find & Replace Pane now allows file filters to be specified for Find in Files.
- Use monospaced font in Find & Replace Pane text entries.
- Removed legacy "refresh syntax highlighting" feature.
- Modules: Added documentation for generating ctags and API files.
- Modules: Improved in-place editing of files during comparison.
- Scintilla: added
lexer.colors
andlexer.styles
tables for use in
themes. Also added new way to define and reference styles. - Scintilla: Added
lexer.fold*
options instead of setting view properties. - Scintilla: Optimized performance when opening huge files.
- Scintilla: Added
buffer.eol_annotation_text
analogue to
buffer.annotation_text
, but for EOL annotations. - Scintilla: Display DEL control characters like other control characters.
- Scintilla: Allow caret width to be up to 20 pixel.
- Scintilla: Updated markdown and C lexers.
- Scintilla: Fixed bug with GTK on recent Linux distributions where underscores
were invisible. - Scintilla: Fixed GTK on Linux bug when pasting from closed application.
- Updated to Scintilla 3.21.0.