Releases: orbitalquark/textadept
Releases · orbitalquark/textadept
nightly
Textadept nightly (07 Mar 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% | 295-306, 308-314, 316-319, 321-329, 331, 334-345, 347, 349, 351, 357-371, 375, 378-384, 429, 552, 554-563, 565-568, 597-598, 601-603, 605-609, 611-616, 620, 622-625, 627-630, 633-637, 640-641, 658, 664-666, 679-694, 696-697, 699, 701, 703-709, 712-714, 718-721, 723-725, 727-734, 736-737, 742-753, 755-757, [760-761][71], [763-764][72], [766-772][73], [774-777][74], [779-781][75], [783-790][76], [794-802][77], [895][78], [903][79], [905][80], [907][81], [913-914][82], [916-921][83], [930][84], [955][85], [984-992][86], [994][87], [996-1002][88], [1004-1012][89], [1015][90] |
src/textadept_gtk.c | 68% | [48-49][91], [53-57][92], [75-80][93], [103][94], [214-219][95], [223-225][96], [327-338][97], [340][98], [448-450][99], [488-491][100], [493][101], [556][102], [565-569][103], [572-582][104], [586-588][105], [590-598][106], [600-601][107], [604-611][108], [614-615][109], [654-655][110], [657-665][111], [667][112], [673-675][113], [681-686][114], [690-693][115], [699-704][116], [706-708][117], [714-716][118], [720-722][119], [725-729][120], [731-737][121], [739-742][122], [744][123], [746-761][124], [764-765][125], [767-776][126], [778-784][127], [786-787][128], [789-791][129], [793-801][130], [920][131], [928-937][132], [939][133], [956][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-526][155], [528-536][156], [627-629][157], [649][158], [662-667][159], [675][160], [680-683][161], [690][162], [692][163], [702][164], [716-719][165], [749-760][166], [762-766][167], [769-770][168], [787-788][169] |
src/textadept_qt.h | 100% | |
TOTAL | 74% |
12.6
Textadept 12.6 (01 Feb 2025)
Download:
- Textadept 12.6 -- Windows
- Textadept 12.6 -- macOS 11+
- Textadept 12.6 -- Linux
- Textadept 12.6 -- Modules
Bugfixes:
- Fixed crash resizing the terminal version.
- Fixed build for GTK 2.
- Fixed accidental installation of a dependency when manually running
cmake --install
. - Fixed potential crash when manually emitting
events.UPDATE_UI
without an argument. - Fixed occasional crash in the terminal version when attempting to scroll and unscrollable view.
- Scintilla: fixed wrapping of removed lines.
Changes:
- Updated Brazilian Portuguese translation.
- Updated C lexer.
- Added support for Nix.
- Scintilla: improve performance of brace matching.
- Updated to Scintilla 5.5.4.
12.5
Textadept 12.5 (01 Dec 2024)
Download:
- Textadept 12.5 -- Windows
- Textadept 12.5 -- macOS 11+
- Textadept 12.5 -- Linux
- Textadept 12.5 -- Modules
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
Textadept 12.5 beta 3 (1 Oct 2024)
Download:
- Textadept 12.5 beta 3 -- Windows
- Textadept 12.5 beta 3 -- macOS 11+
- Textadept 12.5 beta 3 -- Linux
- Textadept 12.5 beta 3 -- Modules
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
andsnippets.c
now). - Emit
events.VIEW_BEFORE_SWITCH
onview:split()
. - Enable
view.caret_line_visible_always
, but only on the current view when Textadept has focus. - Added
select
option toui.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
Textadept 12.5 beta 2 (01 Sep 2024)
Download:
- Textadept 12.5 beta 2 -- Windows
- Textadept 12.5 beta 2 -- macOS 11+
- Textadept 12.5 beta 2 -- Linux
- Textadept 12.5 beta 2 -- Modules
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 fromio.open_file()
; usebuffer:set_encoding()
as needed. - Implemented
timeout()
for the terminal version. - Renamed
_SCINTILLA.new_*
functions toview.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 returntrue
to prevent subsequent emission ofevents.FIND
.- Lua Command Entry and
ui.print()
now print to the Output Buffer (not the Message Buffer). - Removed
ui.print_silent()
(useui.print_silent_to()
instead). - Removed Message Buffer.
- Changed
ui.print_to()
andui.print_silent_to()
to only accept a single string message. - Changed
ui.output()
andui.output_silent()
to only accept strings or numbers. textadept.editing.auto_pairs
andtextadept.editing.select_enclosed
support UTF-8 characters.- Scroll up/down by pages using
Alt+PgUp
andAlt+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()
withui.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()
andbuffer:line_dedent()
for
always indenting/dedenting instead of conditionally doing so withbuffer:tab()
and
buffer:back_tab()
. - Updated to Scintilla 5.5.2.
- Updated to Scinterm 5.1.
12.5_beta
Textadept 12.5 beta (01 Jul 2024)
Download:
- Textadept 12.5 beta -- Windows
- Textadept 12.5 beta -- macOS 11+
- Textadept 12.5 beta -- Linux
- Textadept 12.5 beta -- Modules
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
Textadept 12.4 (01 May 2024)
Download:
- Textadept 12.4 -- Windows
- Textadept 12.4 -- macOS 11+
- Textadept 12.4 -- Linux
- Textadept 12.4 -- Modules
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
Textadept 12.3 (01 Mar 2024)
Download:
- Textadept 12.3 -- Windows
- Textadept 12.3 -- macOS 11+
- Textadept 12.3 -- Linux
- Textadept 12.3 -- Modules
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
Textadept 12.3 beta (01 Jan 2024)
Download:
- Textadept 12.3 beta -- Windows
- Textadept 12.3 beta -- macOS 11+
- Textadept 12.3 beta -- Linux
- Textadept 12.3 beta -- Modules
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()
andbuffer:move_selected_lines_down()
work for regular selections. - Updated to Scintilla 5.4.1.
12.2
Textadept 12.2 (01 Nov 2023)
Download:
- Textadept 12.2 -- Windows
- Textadept 12.2 -- macOS 11+
- Textadept 12.2 -- Linux
- Textadept 12.2 -- Modules
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.