Skip to content

Releases: orbitalquark/textadept

12.0_alpha_2

01 Mar 23:23
Compare
Choose a tag to compare
12.0_alpha_2 Pre-release
Pre-release

Textadept 12.0 alpha 2 (01 Mar 2023)

Please see the migration guide for migrating from Textadept 11 to 12.

Download:

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 return false if 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_files and textadept.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_chars with typeover_auto_paired.
  • Renamed textadept.snippets.cancel_current() to cancel().
  • Removed textadept.snippets.path.
  • Added buffer representation argment to events.BUFFER_DELETED.
  • Switched documentation format to LDoc from LuaDoc.
  • Added -L and --lua command 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_background applies 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() and ui.command_entry.height.
  • Use Scintillua as a Lua library instead of as a Scintilla lexer.
  • Removed support for buffer.property_int (not lexer.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

01 Jan 03:23
Compare
Choose a tag to compare
12.0_alpha Pre-release
Pre-release

Textadept 12.0 alpha (01 Jan 2023)

Please see the migration guide for migrating from Textadept 11 to 12.

Download:

Bugfixes:

  • Fixed io.get_project_root() on Windows network shares.
  • Fixed display of Shift+Tab key 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_zorder option and removed zorder parameter from ui.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_pairs and textadept.editing.typeover_chars auto-include '<>'
    characters for XML-like languages and removed textadept.editing.brace_matches.
  • Added menu option and key binding to undo last selected word.
  • ui.find.show_filenames_in_progressbar is false by default now.
  • Filters for lfs.walk(), io.quick_open(), and ui.find_in_files() now use glob patterns
    instead of Lua patterns.
  • Changed events.KEYPRESS to only emit string key representations.
  • Changed events.TAB_CLICKED to use key modifier mask like other events.
  • Changed textadept.editing.auto_pairs and textadept.editing.typeover_chars to use string
    character keys instead of bytes.
  • Added textadept.run.INDIC_WARNING and textadept.run.INDIC_ERROR for underlining
    compile, run, build, and test warning and error messages.

11.5_alpha_2

01 Nov 14:08
Compare
Choose a tag to compare
11.5_alpha_2 Pre-release
Pre-release

Textadept 11.5 alpha 2 (01 Nov 2022)

Download:

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.OSX is now always true on macOS, not just in the GUI version.
  • buffer.tab_label is now write-only.
  • Replaced gtDialog with smaller set of built-in dialogs.
    • Deprecated ui.dialogs.*msgbox() in favor of ui.dialogs.message(),
      ui.dialogs.*inputbox() in favor of ui.dialogs.input(), ui.dialogs.fileselect() in
      favor of ui.dialogs.open(), ui.dialogs.filesave() in favor of ui.dialogs.save(),
      ui.dialogs.progressbar() in favor of ui.dialogs.progress(), and
      ui.dialogs.filteredlist() in favor of ui.dialogs.list().
    • Removed ui.dialogs.textbox(), ui.dialogs.*dropdown(), ui.dialogs.optionselect(),
      ui.dialogs.colorselect(), and ui.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_output option from dialogs.
    • Renamed the following dialog options: with_directorydir, with_filefile,
      select_multiplemultiple, select_only_directoriesonly_dirs.
  • Removed opts argument from io.quick_open().
  • Find in Files' file scanning is shown with a progress dialog and can be stopped.
  • Deprecated ui._print in favor of ui.print_to().
  • _L no 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

01 Oct 12:38
Compare
Choose a tag to compare
11.5_alpha Pre-release
Pre-release

Textadept 11.5 alpha (01 Oct 2022)

Download:

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 and lexer.styles in favor of view.colors and view.styles,
    and deprecated lexer.fold* in favor of view.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 of ui.print_silent() and ui.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() and textadept.run.run_project_commands for running
    project commands.
  • Deprecated textadept.file_types.extensions and textadept.file_types.patterns in favor of
    lexer.detect_extensions and lexer.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 of lex: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 to lexer.starts_line().
  • Deprecated lexer.last_char_includes() in favor of lexer.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 and view.INDIC_POINT_TOP indicator.
  • Scintilla: optimized line state to avoid excessive allocations.
  • Scintilla: added view.FOLDACTION_CONTRACT_EVERY_LEVEL for view:fold_all().
  • Scintilla: allow large fonts to be used in view.STYLE_CALLTIP without affecting text display.
  • Updated to Scintilla 5.3.0.

11.4

01 Aug 12:51
Compare
Choose a tag to compare

Textadept 11.4 (01 Aug 2022)

Download:

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_LOADED is emitted on buffer.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_layer is view.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

31 May 23:14
Compare
Choose a tag to compare
11.4_beta Pre-release
Pre-release

Textadept 11.4 beta (31 May 2022)

Download:

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

01 Apr 13:56
Compare
Choose a tag to compare
11.4_alpha Pre-release
Pre-release

Textadept 11.4 alpha (01 Apr 2022)

Download:

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_CUSTOM or ORDER_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_progressbar option 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 -p and
    --preserve command 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

31 Jan 23:01
Compare
Choose a tag to compare

Textadept 11.3 (01 Feb 2022)

Download:

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.

11.3_beta_3

01 Dec 02:22
Compare
Choose a tag to compare
11.3_beta_3 Pre-release
Pre-release

Textadept 11.3 beta 3 (01 Dec 2021)

Download:

Bugfixes:

  • Format: When formatting on save, check for filename first instead of assuming there is one.
  • Scintilla: Fixed primary selection paste within same view.

Changes:

  • Added '`' as an autopair and typeover character.
  • textadept.editing.auto_enclose keeps text selected.
  • Scintilla: DEL (0x7F) is considered a space character.
  • Updated to Scintilla 5.1.4.

11.3_beta_2

01 Nov 14:38
Compare
Choose a tag to compare
11.3_beta_2 Pre-release
Pre-release

Textadept 11.3 beta 2 (01 Nov 2021)

Download:

Bugfixes:

  • Fixed accidental drawing of whitespace, tab arrows, and indentation guides in margins when
    scrolling horizontally in the terminal version.
  • Fixed accidental highlighting in margins when scrolling horizontally in the terminal version.
  • Fixed occasional incorrect drawing when scrolling horizontally in the terminal version.
  • Lua REPL: Fixed broken REPL on reset.

Changes:

  • Hide the terminal cursor when the caret is out of view.
  • Format: New module for formatting code and reformatting paragraphs.
  • Debugger: Allow watch expressions without breaking on changes.
  • Debugger: Implement setting stack frames in Lua and pretty-print variable values.
  • Debugger: Prefer status buffers for variables and call stacks.