Releases: orbitalquark/textadept
12.0_beta
Textadept 12.0 beta (01 Jul 2023)
Please see the migration guide for migrating from Textadept 11 to 12.
Download:
- Textadept 12.0 beta -- Windows
- Textadept 12.0 beta -- macOS 11+
- Textadept 12.0 beta -- Linux
- Textadept 12.0 beta -- Modules
Bugfixes:
- Fixed a new view resetting a buffer's indentation settings.
- Fixed Qt bug where unsplitting in a second-level split view changed view focus.
- Do not silently print internal Lua errors.
- Fixed compile error with Gtk 2.0.
- Fixed Gtk list dialog display.
- Fixed Qt bug that disallowed literal '*' in list dialog filters.
- Fixed display of bullets in "session files not found" dialog on Windows.
- Do not attempt to show a snippet list without snippets.
- LSP: fixed calculation of character columns when tabs are enabled.
- LSP: Lua language server highlights ':' method parameters starting at 2, not 1.
Changes:
- Windows 10 and macOS 11 are the new minimum system requirements; Linux is unchanged.
- Moved "View Whitespace" and "Word Wrap" back into "View" menu and made them view-specific
properties. - Added alphanumeric macro registers.
- Autodetect dark mode and implement auto-switching between light and dark modes on Windows.
- Support Qt 6 and use it on Windows and macOS builds.
- Switch default indentation to size 8 tabs.
- Allow autocompleter functions to set separator character and sort order.
- Added lua-std-regex and its
regexLua module. - Support TextMate- and LSP-style snippets, and deprecated old format.
- Alias
Ctrl+Shift+U(upper-case selection) toCtrl+Alt+Shift+Uin case the former is
consumed by Linux for Unicode input. - LSP: added support for snippet completions.
- LSP: support per-project language servers.
12.0_alpha_3
Textadept 12.0 alpha 3 (01 May 2023)
Please see the migration guide for migrating from Textadept 11 to 12.
Download:
- Textadept 12.0 alpha 3 -- Windows
- Textadept 12.0 alpha 3 -- macOS 10.13+
- Textadept 12.0 alpha 3 -- Linux
- Textadept 12.0 alpha 3 -- Modules
Bugfixes:
- Fixed syntax highlighting lag regression.
- Fixed updating buffer tab's "dirty" status on save all.
- Fixed error when backspacing over an auto-paired character before a multi-byte character.
- Fixed
events.AUTO_C_CANCELEDnot existing. - Fixed
_Lnot returning non-localized messages. - Do not show an empty quick open list.
- Qt version: fixed
button3andreturn_buttonoptions forui.dialogs.list(). - LSP: fixed issue sending file URIs to language servers on Windows.
- LSP: fixed startup issue with many language servers that do not support selection ranges.
- LSP: test that call tip triggers are present before trying to find one.
- LSP: Lua language server writes its log to
_USERHOME. - Scintilla: fixed GTK bug with too many or too few lines when wrapping.
- Scintilla: draw background color for EOL annotations with no decorations or outlined with a box.
- Scintilla: fixed
buffer:lines_join()bug where 'r' were incorrectly retained. - Scintilla: fixed indicator drawing over the left margin in the Qt version.
- Scintilla: fix clipping of line end wrap symbol for
view.WRAPVISUALFLAGLOC_END_BY_TEXT.
Changes:
- Autodetect dark mode and implement auto-switching between light and dark modes (macOS and
Linux only for now). - Revamped API documentation, mainly for buffer and view API to be more readable.
- Allow multiple selections in the recent file dialog.
- Added a dialog button to clear the recent files list.
- Hide the Windows popup console window when running Textadept as a Lua interpreter.
ui.print_silent()andui.output_silent()always print silently and return their print
buffers.- Restored
ui.command_entry.heightandtextadept.snippets.paths. - Increase
io.quick_open_max. - Allow short-hand access notation for menu items in
textadept.menu.menubar. events.MOUSEemits a bit-mask of modifier keys instead of multiple booleans.- Format: only ignore header lines that have no content.
- LSP: Lua language server supports local tables and functions.
- LSP: highlight the active call tip parameter when typing, if possible.
- Scintilla: draw lines more consistently by clipping drawing to just the line rectangle.
- Scintilla: draw
view.MARK_BARmarkers underneath other markers. - Scintilla: enlarge
view.INDIC_POINT*indicators and scale to be larger with text. - Scintilla: make
view:line_scroll()more accurate when the width of a space is not an integer. - Scintilla: emit
events.AUTO_C_COMPLETEDwhenbuffer.auto_c_choose_singleistrue. - Scintilla:
buffer:para_up*()go to the start position of the paragraph first. - Scintilla:
view.rectangular_selection_modifierworks in the Qt version. - Scintilla: support IME context in the GTK version.
- Scintilla: allow scrolling with mouse wheel when
view.*_scroll_barisfalsein the
Qt version. - Scintilla: added multi-threaded wrap to significantly improve performance of wrapping large
files. - Scintilla: allow individual bytes of multi-byte characters to be styled.
- Updated to Scintilla 5.3.4.
- Updated to Scinterm 5.0.
12.0_alpha_2
Textadept 12.0 alpha 2 (01 Mar 2023)
Please see the migration guide for migrating from Textadept 11 to 12.
Download:
- Textadept 12.0 alpha 2 -- Windows
- Textadept 12.0 alpha 2 -- macOS 10.13+
- Textadept 12.0 alpha 2 -- Linux
- Textadept 12.0 alpha 2 -- Modules
Bugfixes:
- Fixed auto-pair removal bug when backspacing over an auto-paired character.
- Fixed directory filters that contain directories to include.
textadept.editing.autocomplete()should returnfalseif no completions are displayed.- Fixed clearing of a previous buffer's state when switching between buffers after closing one.
- Qt version: ensure the given directory is selected in Linux's directory selection dialog.
- Terminal version: fixed spawning processes on Linux and macOS.
- Terminal version: synchronize paragraph up/down extend selection key binding with GUI version.
- Scintilla: fixed scroll position update after
view:vertical_center_caret(). - Scintilla: prevent autocompletion of lists created during
events.CHAR_ADDED. - LSP: fixed diagnostic display.
- LSP: silently print to LSP buffer when starting language servers.
- LSP: properly handle incoming server requests.
- LSP: fixed "Find References".
- LSP: gracefully shut down language servers on quit too, not just reset.
- LSP: improved startup and error notifications.
- LSP: synchronize unsaved document changes when switching away from a buffer or view.
- LSP: handle unexpected language server exit (i.e. crash).
- LSP: fixed display of signature help when more than one option is present.
Changes:
- Language modules are no longer auto-loaded when their files are opened.
- All language autocompletion and documentation has been delegated to the external LSP module.
- Deprecated C, CSS, Go, HTML, Lua, Python, and Ruby language modules.
- Textadept no longer generates or uses Lua tags and api documentation files.
- Deprecated the ctags module.
- Removed "Tools > Complete Symbol" and "Tools > Show Documentation" menu items.
- Removed
textadept.editing.api_filesandtextadept.editing.show_documentation(). - Hide the Find & Replace pane after an "In Files" search.
- Allow lexers to dictate what constitutes a word character.
- Added
lexer.names(). - Removed
textadept.editing.transpose_chars(). - Replaced
textadept.editing.typeover_charswithtypeover_auto_paired. - Renamed
textadept.snippets.cancel_current()tocancel(). - Removed
textadept.snippets.path. - Added buffer representation argment to
events.BUFFER_DELETED. - Switched documentation format to LDoc from LuaDoc.
- Added
-Land--luacommand line option for running Textadept as a standalone Lua interpreter. - Scroll all views showing print/output buffers when printed to.
- Renamed
_SCINTILLA.next_*to_SCINTILLA.new_*. textadept.run.run_in_backgroundapplies even if the output buffer is not open.- Notify of compile/run/build/test/project command success or failure in statusbar.
- Autoscroll to the bottom of compile/run/build/test/project output buffer if possible.
- Removed
ui.command_entry.append_history()andui.command_entry.height. - Use Scintillua as a Lua library instead of as a Scintilla lexer.
- Removed support for
buffer.property_int(notlexer.property_int). - LSP: updated to LSP 3.17.
- LSP: implemented selection range.
- LSP: support language-specific completion and signature help trigger characters.
- LSP: support highlighting active parameters in signature help.
- LSP: show relative paths in "Go To ..." dialogs if possible.
- LSP: send "textDocument/didClose" notifications.
- LSP: added simple Lua language server and enable it by default for Lua files.
- LSP: stop logging to a buffer and added "Show Log" menu option instead.
- LSP: allow for launching servers outside a project.
12.0_alpha
Textadept 12.0 alpha (01 Jan 2023)
Please see the migration guide for migrating from Textadept 11 to 12.
Download:
- Textadept 12.0 alpha -- Windows
- Textadept 12.0 alpha -- macOS 10.13+
- Textadept 12.0 alpha -- Linux
- Textadept 12.0 alpha -- Modules
Bugfixes:
- Fixed
io.get_project_root()on Windows network shares. - Fixed display of
Shift+Tabkey bindings in menus. - Fixed toggling comments in multi-language lexers.
- Do not show duplicate lexer names in the selection list.
- Correctly recognize UTF-8 files with NUL bytes in them.
- GTK version: fixed invalid cast warning for split views.
- GTK version: handle movement keys from the list dialog entry when interactive search is not active.
- Terminal version: fixed crash cleaning up after a spawned process.
- Terminal version: improved spawn command parsing.
- Terminal version: fixed suspend/resume.
- Terminal version: fixed interpretation of backspace key in CDK entry boxes.
Changes:
- Added Qt version and made it the default for all platforms.
- The Qt version of Textadept is not a single-instance application, only the GTK version is.
- The minimum required version of macOS is 10.13 (High Sierra).
- Switched to CMake-based build for building natively on Windows, macOS, and Linux.
- Redesigned key bindings to be more consistent and deterministic across OSes and platforms.
- Added 'Save' buttons to close and quit dialogs when there are unsaved buffers.
- Removed GTK support for Windows and macOS (Linux is still supported).
- Utilize "TEXTADEPT_HOME" environment variable, if it exists, in place of autodetected
_HOME
based on Textadept executable location. - Added
_G.QT. - Include Go language module in separate set of modules.
- Quick open list shows relative paths if possible.
- Find in files result paths are relative to the searched directory.
- Buffer browser shows relative paths for files in the current project.
- More reasonable initial list dialog sizes.
- "Save As" dialog falls back onto the current directory if necessary.
- Deprecated reST and YAML modules.
- Added '-' command line option for reading from stdin into a new buffer.
- Removed 10-item find/replace history limit for the GUI version.
- Added
ui.buffer_list_zorderoption and removed zorder parameter fromui.switch_buffer().
The buffer list order is most recently used first by default. - Added
ui.suspend()for the terminal version, allowing any key binding to suspend the editor. textadept.editing.auto_pairsandtextadept.editing.typeover_charsauto-include '<>'
characters for XML-like languages and removedtextadept.editing.brace_matches.- Added menu option and key binding to undo last selected word.
ui.find.show_filenames_in_progressbarisfalseby default now.- Filters for
lfs.walk(),io.quick_open(), andui.find_in_files()now use glob patterns
instead of Lua patterns. - Changed
events.KEYPRESSto only emit string key representations. - Changed
events.TAB_CLICKEDto use key modifier mask like other events. - Changed
textadept.editing.auto_pairsandtextadept.editing.typeover_charsto use string
character keys instead of bytes. - Added
textadept.run.INDIC_WARNINGandtextadept.run.INDIC_ERRORfor underlining
compile, run, build, and test warning and error messages.
11.5_alpha_2
Textadept 11.5 alpha 2 (01 Nov 2022)
Download:
- Textadept 11.5 alpha 2 -- Windows
- Textadept 11.5 alpha 2 -- Mac OSX 10.10+
- Textadept 11.5 alpha 2 -- Linux
- Textadept 11.5 alpha 2 -- Modules
Bugfixes:
- Fixed memory leak after running timeout function.
- Fixed
buffer.eol_annotation_style*settings. - Fixed bug showing the buffer browser from the first buffer if zorder is
true. - Fixed display of compile/run commands in output.
- Fixed inability to use single-quoted command line arguments to
os.spawn()in the terminal
version. - Open file mode: Fixed bug loading module during Textadept initialization.
Changes:
- Dropped BSD support.
- Separated GUI platform C code from non-GUI C code.
- Added
_G.GTK. _G.OSXis now always true on macOS, not just in the GUI version.buffer.tab_labelis now write-only.- Replaced gtDialog with smaller set of built-in dialogs.
- Deprecated
ui.dialogs.*msgbox()in favor ofui.dialogs.message(),
ui.dialogs.*inputbox()in favor ofui.dialogs.input(),ui.dialogs.fileselect()in
favor ofui.dialogs.open(),ui.dialogs.filesave()in favor ofui.dialogs.save(),
ui.dialogs.progressbar()in favor ofui.dialogs.progress(), and
ui.dialogs.filteredlist()in favor ofui.dialogs.list(). - Removed
ui.dialogs.textbox(),ui.dialogs.*dropdown(),ui.dialogs.optionselect(),
ui.dialogs.colorselect(), andui.dialogs.fontselect(). - Input and list dialogs return text and selections first before button indices.
- Input dialogs no longer accept multiple text entries and labels.
- Removed
string_outputoption from dialogs. - Renamed the following dialog options:
with_directory→dir,with_file→file,
select_multiple→multiple,select_only_directories→only_dirs.
- Deprecated
- Removed
optsargument fromio.quick_open(). - Find in Files' file scanning is shown with a progress dialog and can be stopped.
- Deprecated
ui._printin favor ofui.print_to(). _Lno longer prefixes non-localized messages with "No Localization:".textadept.run.stop()presents a list dialog if there is more than one process running.- Moved process spawning into platform C code.
11.5_alpha
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.
11.4
Textadept 11.4 (01 Aug 2022)
Download:
- Textadept 11.4 -- Windows
- Textadept 11.4 -- Mac OSX 10.7+
- Textadept 11.4 -- Linux
- Textadept 11.4 -- Modules
Bugfixes:
- Fixed line comment toggling for Batch.
- Fixed lack of HTML documentation in releases since 11.3.
- Ensure the statusbar is updated after
buffer:set_lexer(). - Ensure
events.LEXER_LOADEDis emitted onbuffer.new(). - LSP: Fixed off-by-one errors for goto definition et. al. and find references.
- LSP: Fixed bug attempting to start a language server manually.
- Lua REPL: Fixed key bindings.
- Ruby: Fixed bug when trying to toggle a block at the end of the buffer.
- Scintilla: Fixed hiding selection when
view.selection_layerisview.LAYER_UNDER_TEXT. - Scintilla: Fix potential issues with drawing non-UTF-8 text.
Changes:
- Changed line duplication to line/selection duplication.
- Added
ui.popup_menu()for displaying menus like the right-click context menu. - The GUI version now recognizes the 'menu' key.
- Added support for Hare.
- Updated Spanish translation.
- Updated R, Fortran, and Go lexers.
- Updated to Scintilla 5.2.4.
11.4_beta
Textadept 11.4 beta (31 May 2022)
Download:
- Textadept 11.4 beta -- Windows
- Textadept 11.4 beta -- Mac OSX 10.10+
- Textadept 11.4 beta -- Linux
- Textadept 11.4 beta -- Modules
Bugfixes:
- Correctly handle snippet mirrors in placeholders.
- Fixed default button theme on macOS.
- Fixed inability to run executables using some run commands on macOS.
- Scintilla: Fixed crash with unexpected right-to-left text.
- Scintilla: Fixed position of end-of-line annotation when fold display text is visible.
- Scintilla: Fixed partial updates and non-responsive scrollbars.
Changes:
- Scintilla: Improved performance of
view:fold_all(view.FOLDACTION_EXPAND). - Updated to Scintilla 5.2.3.
11.4_alpha
Textadept 11.4 alpha (01 Apr 2022)
Download:
- Textadept 11.4 alpha -- Windows
- Textadept 11.4 alpha -- Mac OSX 10.10+
- Textadept 11.4 alpha -- Linux
- Textadept 11.4 alpha -- Modules
Bugfixes:
- Fixed bug in
ui.goto_view()when specifying a preferred view. - Fixed busy loop in
ui.update()on macOS when monitoring output of spawned processes. - Ensure preferred "lexer.trigger.ext" snippet files are used over "trigger.ext".
- Improved Windows network directory path handling.
- Fixed alpha color value of brace matches.
- Fixed busy wait on spawned process exit in some cases.
- Resize line number margin on reset.
- Fixed search wrapping indicator not showing up in the statusbar.
- Fixed "Find Next" for zero-width regex searches.
- Fixed calling
view:set_theme()from the command entry. - Scintilla: Fixed assertion failure with autocompletion lists when order is
ORDER_CUSTOMorORDER_PERFORMSORT. - Scintilla: On Wayland, fixed autocompletion window display on secondary monitor.
- Scintilla: Fixed some scrollbar inaccuracies with annotations and wrapped lines.
- Scintilla: Improved Chinese character alignment with roman characters.
Changes:
- Use GTK 3 by default on all platforms.
- Windows binaries are 64-bit now; dropped support for 32-bit Windows.
- The minimum required version of macOS is 10.10 (Yosemite).
- Tabs are now rearrangeable via drag and drop.
- Makefile allows building both the GUI and terminal versions concurrently.
- Updated test suite to run on Windows and macOS.
- Use Free Desktop Icon Naming Specification icon names in dialogs.
- New Docker image for building with GTK 3.
- Added
ui.find.show_filenames_in_progressbaroption for hiding filenames during Find in
Files searches. - Added
move_buffer()function for rearranging buffers. - Added support for flow control sequences in the non-Windows terminal version with
-pand
--preservecommand line options. - Updated Fennel lexer.
- Updated Python lexer to highlight class definitions.
- Scintilla: Improve performance for very long lines.
- Scintilla: Shift+Mouse Wheel scrolls horizontally.
- Updated to Scintilla 5.2.0.
- Updated to Lua 5.4.4.
- Updated to libtermkey 0.22.
11.3
Textadept 11.3 (01 Feb 2022)
Download:
- Textadept 11.3 -- Win32
- Textadept 11.3 -- Mac OSX 10.7+
- Textadept 11.3 -- Linux
- Textadept 11.3 -- Modules
Bugfixes:
- Fixed attempted expansion of lexer name snippet that resolves to a table.
- Allow the line number margin to shrink when zooming out.
- Fixed menubar reset crash on macOS.
- Updated Ruby, C++, D, Gleam, Nim, and Verilog lexers to fix binary number parsing.
Changes:
- Improve repeated building of Textadept.app on macOS.
- Updated Perl lexer to recognize more numbers.