| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
(docs/next-editor.md): in the library, edit.treeIndent reads normal.nodeTree, the caller's `Syntax`, and its `Language`'s indent query (`indents`, which addLanguage already kept and nothing read), as a file's Enter, `o` and `O` read its own tree; without a query, or without a parse, the plain indent as before (a level more after `(`, `[`, `{` or `)`), which pushed every line of a language whose lines end in a call one level further in (examples/live, the sketch's language); pardes's own panes compile the branch out; test/lib: `f(1)` and Enter with no parse, with a grammar and no indent query (both a level in) and with one (none); hxlib 538 of 658 with 0 mismatches, core-test 811 of 950, shell-test 990 of 993, hxdiff 658 with 0 mismatches, lib-test 11 of 11
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
(docs/next-editor.md): `key(a, syn, k)`, `run(a, syn, act)` and `replace(a, from, to, with, join)` among the calls; the tree handed in, its shape and why (an argument the call's context carries, `normal.nodeTree` the one seam), which walks run in the library and what comes back without one; the hxlib counts, 538 of 658 and 618 of 738, the walks' one case compared; Left out keeps tree indents and says where Alt-o's history lives; the recipe gains "hear this subexpression" (Alt-o and Alt-i on a module's `Syntax`, the primary range read back) and "drag a number" (the number node under the pointer rewritten every frame, the drag one step to undo); building.typ's table and the changelog say so; hxlib 538 / --parity 618, core-test 811 of 950, shell-test 990 of 993, hxdiff 658 / parity 738 / hxgolf 124 with 0 mismatches, replicas pass, lib-test pass, the book compiles
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
| |
the flat form's fields and capacities, what is refused at capacity and what a ring drops, the numbers (a key at 1, 16 and 64 KiB in Debug and ReleaseFast, the pages a typed character changes, a full parse, what a package taking the editor pays to compile, pardes's recompile, perf cells and codeloc before and after), the seam's compile-time branches, the hxlib counts, what is left out and why, and the recipe for an editor in a sketch; building.typ's library section gains the editor, how a package asks for it, its calls and `zig build hxlib`; the changelog says so
|
|
|
(.scratch/sketch/reports/editor-lib.md, the coordinator's leans): the calls as they will ship (key, run, selectRegex, text, ranges, mode, pending, setText; Outcome done, pending, unbound, action, refused), the flat stored form and its capacities (a gap buffer for the text, Text's fields by name, two rings of snapshots, registers as records), thaw and freeze O(document) a key, a key refused whole at capacity, syntax derived from a language handed in at run time, the seam (a context of pointers gathered per call, not an embedded field: the dump matches fields by name), what is left out and why, and that a dump from before loads as it did
|