Releases: orbitalquark/textadept
Releases · orbitalquark/textadept
nightly
Textadept nightly (29 Nov 2024)
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-54, 74, 79, 549, 552-556, 560, 563, 588-592, 594-597, 599-601, 647-649, 656, 751-761, 800-805, 846-847, 880, 1256-1259, 1262-1265 |
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], [906-907][80], [909-913][81], [923][82], [948][83], [977-985][84], [987][85], [989-995][86], [997-1005][87], [1008][88] |
src/textadept_gtk.c | 69% | [48-49][89], [53-57][90], [75-80][91], [103][92], [213-218][93], [222-224][94], [326-337][95], [339][96], [447-448][97], [487-490][98], [555][99], [564-568][100], [571-581][101], [585-587][102], [589-597][103], [599-600][104], [603-610][105], [613-614][106], [653-654][107], [656-664][108], [666][109], [672-674][110], [680-682][111], [684-686][112], [690-692][113], [699-704][114], [706-708][115], [714-716][116], [720-721][117], [725-728][118], [731-737][119], [739-742][120], [744][121], [746-761][122], [764-765][123], [767-776][124], [778-784][125], [786-787][126], [789-791][127], [793-801][128], [920][129], [928-937][130], [939][131], [956][132] |
src/textadept_qt.cpp | 66% | [91][133], [95-97][134], [101-102][135], [116-117][136], [310][137], [317-319][138], [362-379][139], [381-384][140], [387-396][141], [400-405][142], [408-417][143], [420-421][144], [428-429][145], [447][146], [450-453][147], [455-457][148], [462-469][149], [471-474][150], [476-478][151], [480-494][152], [498-525][153], [527-534][154], [626-628][155], [648][156], [661-666][157], [674][158], [679-682][159], [689][160], [691][161], [701][162], [715-717][163], [748-759][164], [761-765][165], [768-769][166], [786-787][167] |
src/textadept_qt.h | 100% | |
TOTAL | 74% |
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.
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.