Releases: orbitalquark/textadept
Releases · orbitalquark/textadept
nightly
Textadept nightly (22 Sep 2024)
Code Coverage
File | Coverage | Missed Lines |
---|---|---|
core/args.lua | 97.50% | 77, 128 |
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.22% | 543-545 |
modules/textadept/macros.lua | 100.00% | |
modules/textadept/menu.lua | 99.74% | 513 |
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.34% |
Code Coverage
File | Coverage | Missed Lines |
---|---|---|
src/textadept.c | 93% | 49-52, 72, 77, 543, 546-550, 554, 557, 582-586, 588, 590-592, 638-640, 647, 742-752, 791-796, 837-838, 871, 1229-1232, 1235-1238 |
src/textadept_curses.c | 59% | 285-296, 298-303, 305-308, 310-318, 320, 323-333, 335, 337, 339, 345-360, 363-369, 399, 525, 527-536, 538-541, 570-571, 574-576, 578-582, 584-589, 593, 595-598, 600-603, 606-610, 613-614, 631, 637-639, 652-667, 669-670, 672, 674, 676-682, 685-687, 691-694, 696-698, 700-707, 709-710, 715-726, 728-730, [733-734][71], [736-737][72], [739-745][73], [747-750][74], [752][75], [754-761][76], [765-773][77], [866][78], [874][79], [876][80], [884-885][81], [887-892][82], [902][83], [927][84], [956-964][85], [966][86], [968-974][87], [976-984][88], [987][89] |
src/textadept_gtk.c | 68% | [47-48][90], [52-56][91], [74-79][92], [102][93], [208-213][94], [217-219][95], [321-332][96], [334][97], [420-421][98], [458-461][99], [526][100], [535-539][101], [542-552][102], [556-558][103], [560-568][104], [570-571][105], [574-581][106], [584-585][107], [624-625][108], [627-635][109], [637][110], [643-645][111], [651-653][112], [655-656][113], [660-662][114], [669-674][115], [676-678][116], [684-686][117], [690-691][118], [695-698][119], [701-707][120], [709-712][121], [714][122], [716-728][123], [731-732][124], [734-743][125], [745-751][126], [753-754][127], [756-758][128], [760-768][129], [887][130], [895-904][131], [906][132], [923][133] |
src/textadept_qt.cpp | 66% | [91][134], [95-97][135], [101-102][136], [116-117][137], [306][138], [311-313][139], [356-373][140], [375-378][141], [381-390][142], [394-399][143], [402-411][144], [414-415][145], [422-423][146], [441][147], [444-447][148], [449-451][149], [456-463][150], [465-468][151], [470-472][152], [474-488][153], [492-518][154], [520-527][155], [619-621][156], [641][157], [654-659][158], [667][159], [672-675][160], [682][161], [684][162], [694][163], [708-710][164], [741-752][165], [754-758][166], [761-762][167], [776-777][168] |
src/textadept_qt.h | 100% | |
TOTAL | 74% |
[71]...
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.
12.2_beta
Textadept 12.2 beta (01 Oct 2023)
Download:
- Textadept 12.2 beta -- Windows
- Textadept 12.2 beta -- macOS 11+
- Textadept 12.2 beta -- Linux
- Textadept 12.2 beta -- Modules
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.
12.1
Textadept 12.1 (01 Sep 2023)
Download:
- Textadept 12.1 -- Windows
- Textadept 12.1 -- macOS 11+
- Textadept 12.1 -- Linux
- Textadept 12.1 -- Modules
Bugfixes:
- Correctly recognize projects under Fossil version control.
- Fixed potential crash on GTK when opening a list dialog and immediately arrowing down.
- Fixed crash unsplitting a non-focused view whose other pane contains the focused view.
- Fixed some multi-byte characters in Julia lexer being incorrectly marked as operators.
- Fixed lack of legacy support for
lexer.fold_consecutive_lines()
. - Do not highlight Bash variable pattern expansion as comments.
- Fixed potential crash with proxy lexers like RHTML.
- Scintilla: fixed crash when using IME with a large amount of text selected.
Changes:
- Added
textadept.run.run_without_prompt
for running commands immediately - Updated Hare lexer.
12.0
Textadept 12.0 (01 Aug 2023)
Please see the migration guide for migrating from Textadept 11 to 12.
Download:
- Textadept 12.0 -- Windows
- Textadept 12.0 -- macOS 11+
- Textadept 12.0 -- Linux
- Textadept 12.0 -- Modules
Bugfixes:
- Fixed potential crash when using legacy lexers.
- Fixed error switching to the only buffer that exists.
- Fixed case insensitive word completion from all buffers.
- Fixed syntax highlighting glitches on Windows.
- LSP: small fixes for language servers that do not play nicely.
- LSP: work around Scintilla repeatedly sending hover events on Windows and Qt.
- LSP: fixed active Lua parameter calculation if documented function uses ':'.
- LSP: fixed inaccurate recording of 'goto' position for history navigation.
- Export: use the correct dialog when prompting for a file to export to.
Changes: