Skip to content

Releases: orbitalquark/textadept

nightly

14 Sep 04:21
Compare
Choose a tag to compare
nightly Pre-release
Pre-release

Textadept nightly (22 Jan 2025)

Code Coverage

File Coverage Missed Lines
core/args.lua 97.50% 78, 129
core/assert.lua 100.00%
core/events.lua 100.00%
core/file_io.lua 100.00%
core/iface.lua 100.00%
core/init.lua 98.59% 6
core/keys.lua 100.00%
core/lexer.lua 100.00%
core/lfs_ext.lua 100.00%
core/locale.lua 100.00%
core/ui.lua 100.00%
init.lua 93.42% 70-72, 287, 324-326, 328-330
modules/textadept/bookmarks.lua 100.00%
modules/textadept/command_entry.lua 100.00%
modules/textadept/editing.lua 100.00%
modules/textadept/find.lua 99.62% 278
modules/textadept/history.lua 100.00%
modules/textadept/init.lua 100.00%
modules/textadept/keys.lua 98.24% 545-547
modules/textadept/macros.lua 100.00%
modules/textadept/menu.lua 100.00%
modules/textadept/run.lua 100.00%
modules/textadept/session.lua 100.00%
modules/textadept/snippets.lua 98.68% 220, 278, 622, 629
themes/dark.lua 100.00%
themes/light.lua 100.00%
themes/term.lua 100.00%
Total 99.38%

Code Coverage

File Coverage Missed Lines
src/textadept.c 92% 51-55, 74, 79, 549, 552-556, 560, 563, 588-592, 594-597, 599-601, 647-649, 656, 751-761, 800-805, 846-847, 880, 1256-1260, 1262-1266
src/textadept_curses.c 59% 292-303, 305-311, 313-316, 318-326, 328, 331-341, 343, 345, 347, 353-368, 371-377, 419, 545, 547-556, 558-561, 590-591, 594-596, 598-602, 604-609, 613, 615-618, 620-623, 626-630, 633-634, 651, 657-659, 672-687, 689-690, 692, 694, 696-702, 705-707, 711-714, 716-718, 720-727, 729-730, 735-746, 748-750, 753-754, [756-757][71], [759-765][72], [767-770][73], [772-774][74], [776-783][75], [787-795][76], [888][77], [896][78], [898][79], [900][80], [906-907][81], [909-914][82], [923][83], [948][84], [977-985][85], [987][86], [989-995][87], [997-1005][88], [1008][89]
src/textadept_gtk.c 68% [48-49][90], [53-57][91], [75-80][92], [103][93], [214-219][94], [223-225][95], [327-338][96], [340][97], [448-450][98], [488-491][99], [493][100], [556][101], [565-569][102], [572-582][103], [586-588][104], [590-598][105], [600-601][106], [604-611][107], [614-615][108], [654-655][109], [657-665][110], [667][111], [673-675][112], [681-683][113], [685-687][114], [691-694][115], [700-705][116], [707-709][117], [715-717][118], [721-723][119], [726-730][120], [732-738][121], [740-743][122], [745][123], [747-762][124], [765-766][125], [768-777][126], [779-785][127], [787-788][128], [790-792][129], [794-802][130], [921][131], [929-938][132], [940][133], [957][134]
src/textadept_qt.cpp 65% [91][135], [95-97][136], [101-102][137], [116-117][138], [310][139], [317-320][140], [362-379][141], [381-385][142], [387-397][143], [400-405][144], [408-418][145], [420-421][146], [428-429][147], [447][148], [450-453][149], [455-457][150], [462-469][151], [471-474][152], [476-478][153], [480-494][154], [498-525][155], [527-535][156], [626-628][157], [648][158], [661-666][159], [674][160], [679-682][161], [689][162], [691][163], [701][164], [715-718][165], [748-759][166], [761-765][167], [768-769][168], [786-787][169]
src/textadept_qt.h 100%
TOTAL 74%
Read more

12.5

01 Dec 17:04
Compare
Choose a tag to compare

Textadept 12.5 (01 Dec 2024)

Download:

Bugfixes:

  • Do not consider tab width when jumping to a compile/run/build/test error column number.
  • Fixed typing of single-character lexer names triggering key chains.
  • Fixed Tools > Select Command on macOS when invoked via key binding.

Changes:

  • Restored BSD support.
  • Switched back to Qt Fusion style on Windows.
  • Support italic and underline styles in the terminal version.
  • LSP: added support for code actions and workspace edits.
  • Updated to Scinterm 5.2.

12.5_beta_3

30 Sep 22:31
Compare
Choose a tag to compare
12.5_beta_3 Pre-release
Pre-release

Textadept 12.5 beta 3 (1 Oct 2024)

Download:

Bugfixes:

  • Inherit entire login shell environment (including $PATH) on macOS without ~/.osx_env.sh.
  • Fixed regression in reset().
  • Fixed quick open and find in files filters to not ignore directories like .github.
  • Fixed slow-pasting of text into the terminal version.
  • Fixed rectangular selections not extending beyond end-of-line when virtual space is enabled.
  • Fail gracefully if terminal input cannot be read in the terminal version.
  • Fixed incremental find spamming find history.
  • Fixed insertion of zero-length snippets.
  • Fixed inability to quit the terminal version if an initialization error occured.
  • Fixed rebinding keys defined in the macOS menubar.
  • Support more movement keys in the command entry on macOS.
  • Fixed lack of padding in GTK list dialogs.
  • Fixed inability to show the first buffer tab in the Qt version when using ui.SHOW_ALL_TABS.
  • Format: added format.prefix_map for formatting paragraphs.
  • LSP: fixed autocompletion lists when items have spaces in them.
  • LSP: Lua language server recognizes conventional M identifier as the current module.
  • LSP: lazy-load Textadept API documentation for the Lua command entry.
  • LSP: do not scan Textadept's _HOME more than once.
  • LSP: fixed Lua language server's Textadept _HOME detection on macOS.

Changes:

  • Updated macOS icon to match Big Sur icon style.
  • Updated call tip background to match default background in themes.
  • Updated to Qt 6.7 on Windows, which uses Windows 11 theme widgets.
  • Updated Brazilian Portuguese translation.
  • Renamed 'ansi_c', 'dmd', and 'rstats' lexers to 'c', 'd', and 'r', respectively.
  • Language-specific keys have changed (e.g. use keys.c and snippets.c now).
  • Emit events.VIEW_BEFORE_SWITCH on view:split().
  • Enable view.caret_line_visible_always, but only on the current view when Textadept has focus.
  • Added select option to ui.dialogs.list().
  • Use a proper label widget for the command entry label instead of a Scintilla margin.
  • Increased terminal version Find & Replace history to 100 items.
  • Remove duplicates from Find & Replace history.
  • Added Edit > Deselect menu item and key binding.
  • Format: use Homebrew's gfmt for formatting paragraphs on macOS.
  • Updated to CDK 5.0-20240619.

12.5_beta_2

01 Sep 15:56
Compare
Choose a tag to compare
12.5_beta_2 Pre-release
Pre-release

Textadept 12.5 beta 2 (01 Sep 2024)

Download:

Bugfixes:

  • Limit auto-detected indentation to between 2-8 spaces.
  • Fixed buffer:set_encoding() for single-byte conversions.
  • Fixed os.spawn() in the GTK and terminal versions with a large env table.
  • Document -L and --lua in help output.
  • Do not advance the incremental search anchor when Find Next is clicked and nothing was found.
  • Fixed error when textadept.run.run_without_prompt is enabled, but no command exists.
  • Do not accidentally scroll the view if no text was found.
  • Edits in typed buffers like Files Found Buffer should not be recorded in history.
  • Fixed Find in Files error when searching an empty directory.
  • Fixed incorrect buffer switching after clicking the tab close button for a non-focused buffer.
  • Fixed error return values for os.spawn():read().
  • Fixed view:split() not preserving scroll state.
  • Scintilla: fixed flickering cursor after some mouse action sequences.

Changes:

  • Removed encodings table argument from io.open_file(); use buffer:set_encoding() as needed.
  • Implemented timeout() for the terminal version.
  • Renamed _SCINTILLA.new_* functions to view.new_*.
  • Improved os.spawn() in the terminal version by using the reproc library.
  • quit() now accepts a status code to return after quitting.
  • New internal unit test framework.
  • events.REPLACE handlers can now return true to prevent subsequent emission of events.FIND.
  • Lua Command Entry and ui.print() now print to the Output Buffer (not the Message Buffer).
  • Removed ui.print_silent() (use ui.print_silent_to() instead).
  • Removed Message Buffer.
  • Changed ui.print_to() and ui.print_silent_to() to only accept a single string message.
  • Changed ui.output() and ui.output_silent() to only accept strings or numbers.
  • textadept.editing.auto_pairs and textadept.editing.select_enclosed support UTF-8 characters.
  • Scroll up/down by pages using Alt+PgUp and Alt+PgDn, respectively, on Windows and Linux,
    and ^⇞ and ^⇟ on macOS. (N/A in the terminal version.)
  • Removed ui.find.find_in_files(); ui.find.find_next() with ui.find.in_files invokes it.
  • textadept.editing.select_line() expands a multi-line selection to include whole lines.
  • Scintilla: increase maximum zoom to +60 points.
  • Scintilla: added buffer.copy_separator.
  • Scintilla: added buffer:line_indent() and buffer:line_dedent() for
    always indenting/dedenting instead of conditionally doing so with buffer:tab() and
    buffer:back_tab().
  • Updated to Scintilla 5.5.2.
  • Updated to Scinterm 5.1.

12.5_beta

01 Jul 21:22
Compare
Choose a tag to compare
12.5_beta Pre-release
Pre-release

Textadept 12.5 beta (01 Jul 2024)

Download:

Bugfixes:

  • Fixed tab label not updating for silently created buffers.
  • Skip to next snippet placeholder if the word behind the caret is a lexer name with no snippet
    text.
  • Fixed infinite loop when passing nonexistant directory to lfs.walk().

Changes:

  • Added menu item to toggle showing line margins.
  • Improve Fossil SCM support.
  • Updated Spanish and Portuguese translations.
  • Added menu item to toggle showing the tab bar.
  • Support dynamic horizontal scrollbar resizing.
  • Added basic auto-detection of file indentation, conrtrolled with io.detect_indentation.
  • Updated to Lua 5.4.7.

12.4

01 May 05:01
Compare
Choose a tag to compare

Textadept 12.4 (01 May 2024)

Download:

Bugfixes:

  • Fixed macOS bug where message dialogs did not return focus to the editor.
  • Fixed Bash lexer to not highlight escaped '#' as comments.

Changes:

  • Updated AutoHotkey, Perl, and Rust lexers with minor improvements.
  • LSP: notify servers that diagnostics are supported.
  • Scintilla: significantly reduce memory used for undo actions.
  • Scintilla: added additional selection inactive colors to view.element_color.
  • Scintilla: scale reverse arrow margin cursor to match user's cursor size.
  • Updated to Scintilla 5.5.0.

12.3

01 Mar 19:16
Compare
Choose a tag to compare

Textadept 12.3 (01 Mar 2024)

Download:

Bugfixes:

  • Fixed help files not showing up in Linux releases.
  • Fixed ^⌘ key sequences not working on macOS.
  • LSP: fixed diagnostics for some language servers that expect client diagnostic capababilities.
  • Scintilla: workaround potential crash when a line contains both left-to-right and right-to-left
    text.

Changes:

  • None.

12.3_beta

01 Jan 04:43
Compare
Choose a tag to compare
12.3_beta Pre-release
Pre-release

Textadept 12.3 beta (01 Jan 2024)

Download:

Bugfixes:

  • Do not assume filter through command output is encoded in _CHARSET.
  • Only close the initial buffer if it is blank too.
  • Fixed CMake constantly redownloading Qt SingleApplication module.
  • Qt version: Allow keypad Enter to invoke action in Find & Replace pane entries
  • Scintilla: fixed regex reverse search bug where a shortened match was returned.
  • Scintilla: avoid character fragments in regular expression search results.
  • Scintilla: fixed excessive memory use when deleting contiguous ranges backwards.
  • Scintilla: fixed incorrect substitution when searching for a regular expression backwards.
  • Scintilla: fix potential Qt crash when using IME with a large amount of text selected.

Changes:

  • Added textadept.snippets.active.
  • Scratch: New module for treating untitled buffers as persistent scratch buffers.
  • Scintilla: Ctrl+Click on a selection deselects it in multiple selection mode.
  • Scintilla: added buffer:change_selection_mode().
  • Scintilla: allow setting of buffer.move_extends_selection.
  • Scintilla: improve global replace performance.
  • Scintilla: make buffer:move_selected_lines_up() and buffer:move_selected_lines_down()
    work for regular selections.
  • Updated to Scintilla 5.4.1.

12.2

01 Nov 22:52
Compare
Choose a tag to compare

Textadept 12.2 (01 Nov 2023)

Download:

Bugfixes:

  • Regex replacements with '^' anchors should only match once per line.
  • Fix statusbar column number not including virtual space.
  • Fixed terminal version crash in some list dialogs with UTF-8 characters in them.
  • Gtk input dialogs are resizable.
  • Fixed default Gtk icon dialog when none was specified.

Changes:

  • Updated Brazilian Portuguese and Spanish localizations.

12.2_beta

01 Oct 14:48
Compare
Choose a tag to compare
12.2_beta Pre-release
Pre-release

Textadept 12.2 beta (01 Oct 2023)

Download:

Bugfixes:

  • Fixed crash during logout/restart on Windows while Textadept is still running.
  • Prevent key bindings in the macOS menu from overriding user-specified bindings.
  • Fixed interpretation of '-' command line argument as reading from stdin.
  • Prevent duplicate key events from Scintilla.
  • Only show message box icons in the Gtk version if they exist.
  • Fixed display of window and dialog icons in Gtk.
  • Correctly highlight built-in Bash variables surrounded by "${...}".

Changes:

  • Implemented single-instance functionality on Windows (and Linux with Qt).
  • Dropped legacy 11.x compatibility shims.
  • Added Brazilian Portuguese localization.
  • Updated Hare, fstab, and Matlab lexers.
  • Updated Markdown lexer to detect code blocks delimited by ~~~.
  • Updated Bash lexer to disable conditional and arithmetic operator highlighting due to performance.
  • Updated to Scintilla 5.3.7.