Textadept 11.5 alpha (01 Oct 2022)
Download:
- Textadept 11.5 alpha -- Windows
- Textadept 11.5 alpha -- Mac OSX 10.10+
- Textadept 11.5 alpha -- Linux
- Textadept 11.5 alpha -- Modules
Bugfixes:
- Better display of startup errors.
- Reset horizontal scroll position after loading files.
- Improved showing API documentation from Lua command entry.
- Do not record history for multiple selection edits.
- Updated Bash lexer to improve heredoc handling
Changes:
- Lexers no longer share the same Lua state with Textadept or each other.
- Deprecated
lexer.colors
andlexer.styles
in favor ofview.colors
andview.styles
,
and deprecatedlexer.fold*
in favor ofview.fold*
. - Implemented
buffer.lexer_language
. - Added
view:set_styles()
for manually applying styles to views. - Added
ui.output()
for compile/run/build/test output and removed
textadept.run.error_patterns
. - Refreshed themes.
- Deprecated
textadept.editing.INDIC_BRACEMATCH
in favor of styles. - Removed
ui.silent_print
in favor ofui.print_silent()
andui.output_silent()
. - Changed
ui.command_entry.run()
to add label, remove height, add initial text, and add
args to pass to function. - Compile/run/build/test commands now utilize command entry and have their own command histories.
- Removed
textadept.run.set_arguments()
. - Added
textadept.run.run_project()
andtextadept.run.run_project_commands
for running
project commands. - Deprecated
textadept.file_types.extensions
andtextadept.file_types.patterns
in favor of
lexer.detect_extensions
andlexer.detect_patterns
, and moved
textadept.file_types.select_lexer
into the menu. - Added
io.ensure_final_newline
and decoupled this from
textadept.editing.strip_trailing_spaces
. - Replaced "token" concept with "tags" when writing lexers, and deprecated
lexer.token()
in favor oflex:tag()
. - Removed
lexer.property_expanded
. - All lexers created with
lexer.new()
have a default whitespace style. - Child lexers can extend their parent's keyword lists.
- Added
allow_indent
option tolexer.starts_line()
. - Deprecated
lexer.last_char_includes()
in favor oflexer.after_set()
. lexer.word_match()
can be used as an instance method for enabling users to set, replace,
or extend word lists.- Added
lexer.number_()
and friends for creating patterns that match numbers separated
by arbitrary characters. - Allow prefix to be optional in
lexer.to_eol()
. - Added "output" lexer for recognizing tool errors and warnings.
- Removed
lexer.fold_line_groups
. - Scintilla: added
view.MARK_BAR
marker andview.INDIC_POINT_TOP
indicator. - Scintilla: optimized line state to avoid excessive allocations.
- Scintilla: added
view.FOLDACTION_CONTRACT_EVERY_LEVEL
forview:fold_all()
. - Scintilla: allow large fonts to be used in
view.STYLE_CALLTIP
without affecting text display. - Updated to Scintilla 5.3.0.