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