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.colorsandlexer.stylesin favor ofview.colorsandview.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_BRACEMATCHin favor of styles. - Removed
ui.silent_printin 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_commandsfor running
project commands. - Deprecated
textadept.file_types.extensionsandtextadept.file_types.patternsin favor of
lexer.detect_extensionsandlexer.detect_patterns, and moved
textadept.file_types.select_lexerinto the menu. - Added
io.ensure_final_newlineand 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_indentoption 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_BARmarker andview.INDIC_POINT_TOPindicator. - Scintilla: optimized line state to avoid excessive allocations.
- Scintilla: added
view.FOLDACTION_CONTRACT_EVERY_LEVELforview:fold_all(). - Scintilla: allow large fonts to be used in
view.STYLE_CALLTIPwithout affecting text display. - Updated to Scintilla 5.3.0.