croft-software 0.2.182

VSCode-style TUI written in Rust
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
refactor: The ten ways a tab becomes a viewer (image, SVG, PDF, sheet, document, media, archive, log, SARIF and hex) share one reset instead of ten copies of it (#2062). Every file opens exactly as before.
refactor: Code that reaches every editor group, the focused one included, asks the layout for all of them in one call instead of joining the focused group to the others by hand (#2062). Split editors behave exactly as before.
refactor: Live Share passes that reach every open copy of a file (sharing it, sending local edits, attaching, applying a peer's or an AI's edits, finishing a guest's first sync, reading the text an agent sees) run one loop over all editor groups instead of one copy for the focused group and another for the rest (#2062). Shared editing behaves exactly as before.
refactor: Markdown Lint and code scanning results reach the editor groups through one helper instead of three copies of the same loop (#2062). Diagnostics show exactly as before.
refactor: Language-server and debugger updates that reach every editor group (semantic colours, inlay hints, CodeLens, folds, inline values, renames) run one loop over all groups instead of one copy for the focused group and another for the rest (#2062). Split editors behave exactly as before.
refactor: Renaming or trashing a file, bookmarks, Save All, the per-frame editor settings, the theme switch, per-language inlay hints and the test-run decorations reach every editor group in one loop instead of one copy for the focused group and another for the rest (#2062). Split editors behave exactly as before.
refactor: The tests now fail if any editor tab, in any group, shows two views at once, and a table pins which viewer each kind of file opens in, refusal messages included (#2062). Nothing changes in use.
refactor: The editor's row drawing paints each row's gutter (line number, breakpoint and bookmark marks, fold arrow, change bar) in a function of its own instead of inline in the 1,600-line drawing code (#2062). The editor looks exactly as before.
refactor: The editor's row drawing paints what lies over each row's text (conflict tints, problem underlines, highlights, the selection, extra carets, inline blame, debugger values, suggestions, CodeLens and Live Run notes) in a function of its own (#2062). The editor looks exactly as before.
refactor: The editor's row drawing paints each row's text (colours, inlay hints, bracket colours, colour swatches, indentation guides, whitespace marks) in a function of its own (#2062). The editor looks exactly as before.
refactor: The editor and the picture code read which terminal croft runs in once, when croft starts, instead of from the environment on every frame (#2062). Pictures and backgrounds look exactly as before.
refactor: When a viewer declines a file (an image that does not decode, or an archive, sheet or gzip past its size cap), the open now picks the next route by the reason, not by matching the error message's words (#2062). Every file opens where it did, with the same messages.
refactor: Twelve editor commands that took the same four steps around their change (pin the tab and open the caret's fold, record the undo step, then mark the file changed and colour it again) now take them through one helper (#2062). Every command edits, undoes and redoes exactly as before.
refactor: Every viewer now forgets a new, not yet saved file the tab held before, where five of the ten kept a note of it that nothing read (#2062). Nothing changes in use.
fix: A file that opens in the hex viewer because its own viewer declined it (an archive too large to list, a gzip too large to decompress) now says why when opened from Quick Open or with `croft <file>` in croft's terminal, as it already did from the Explorer (#2711).