summaryrefslogtreecommitdiff
path: root/src/CHANGELOG.md
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-17 07:44:55 -0300
committerGabriel Schneider <[email protected]>2026-11-17 12:15:01 -0300
commit0db7861d9da09e059fa1b9e40fff5cd52add27f2 (patch)
tree6e95dfa36e07b3234b1d5cdb990b11f95c184a3f /src/CHANGELOG.md
parentd3742ddf2b3a85eb3935cb35e958fa27f1293a6b (diff)
parentdee94c740bdaea61ff35b4e0a7f1d2815c9ee441 (diff)
downloadpardes-0db7861d9da09e059fa1b9e40fff5cd52add27f2.tar.gz
pardes-0db7861d9da09e059fa1b9e40fff5cd52add27f2.zip
integration: the text pane a library (pardes-editor), with the GPU move, the terminal, the plumber and the diff work
A merge of pardes-next (wmrtztwl) and editor-lib (rlumrxuq), no conflicts. Gated against the baseline of the integration line (.scratch/sketch/gpu/mbase): the merge with the library before its follow-up, in full: frame corpus 77/77 identical in Debug and in ReleaseFast, the gated window -0.019% instructions (threshold 0.5%), unit-test on gui 1584/1592 with no failure the baseline has not; this merge: corpus 77/77 in Debug, unit-test on gui 1584/1592, on tui core-test 811/950 (139 skipped), shell-test 990/993, lib-test, hxdiff 658, parity 738, hxgolf 124, hxlib 538 and its parity 618, all 0 mismatches, replicas pass. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'src/CHANGELOG.md')
-rw-r--r--src/CHANGELOG.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md
index 44d55707..6d51311b 100644
--- a/src/CHANGELOG.md
+++ b/src/CHANGELOG.md
@@ -2,6 +2,24 @@
## Unreleased
+- The text pane is a library too, `pardes-editor` (`src/lib_editor.zig`,
+ docs/next-editor.md): helix's keys on a text kept in memory, for a
+ program that draws it itself (a sketch with a language of its own). It
+ is a value of plain data, every capacity in its type, copied anywhere
+ and outliving the code that made it; each call runs pardes's own
+ normal.zig and edit.zig on it, built with no pane and no core, and hands
+ back what is not the text's (a view, `:`, `/`, `s`, a language server, a
+ macro) to its caller. A grammar can be handed in at run time beside the
+ compiled-in ones. A package asks for it with `.editor = true`; one that
+ asks for `pardes-syntax` alone fetches what it did. `zig build hxlib`
+ runs helix's cases on it, against the goldens and against the file pane.
+ Nothing a session does changes, and a session dumped before loads after.
+ The caller can hand it the parse it keeps (`Syntax`), and helix's
+ tree-sitter walks (Alt-o, Alt-i, Alt-n, Alt-p and kin, `]f`, `mif`) run
+ in the library on pardes's own functions, Alt-i going back the way
+ Alt-o came; `replace` rewrites a byte range as one step to undo, the
+ ranges following, and a drag that rewrites a number every frame can
+ join its frames into one.
- The terminal is a module of its own (`src/term/`: the emulator, its
screen state for replicas, kitty images, the pager's parse), which never
imports the core and is reached through one table of plain-data