diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-21 20:12:01 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-21 21:34:04 -0300 |
| commit | 98ff1e611e2fd4cd7f1f3db855a6d52f53ab4b71 (patch) | |
| tree | 881d8d03277fc29af181ba77c0879368ad47fb1f /core/builtins.zig | |
| parent | 0d7879195a05b450877d2bf6bd625c01fbfbef8a (diff) | |
| download | pardes-98ff1e611e2fd4cd7f1f3db855a6d52f53ab4b71.tar.gz pardes-98ff1e611e2fd4cd7f1f3db855a6d52f53ab4b71.zip | |
layers: a changed line's words (slice 6): in a run of lines a pinned change took away and wrote, which are one line changed and which words each changed is the patch view's alignment, read off `hunks.format`'s rows of the pin's diff (the library's, called as it is: a paired line's marker has no `ground_line`, its words `ground_emph`; the alignment pairs in order, so the k-th paired line taken away is the k-th paired one written, `jj.pairRun`), where round 3's stand-in made the first as many written as were taken away changed ones: a changed line's old text is a ghost row right above the line (`Ghost.Kind.changed`, its words that went red on no ground, its text grey), the line has the words that came green (`Line.marks`/`nmarks`, `jj.inkCame`, through the row's own columns when it wraps), and neither has the whole-line ground; a line taken away that nothing paired is a ghost row red across above the next changed one's, or after the run; the words are byte ranges kept with jj's answers (`Changes.marks`) and ride with their line; tests: the ghost-rows tests now show `b();` above `b2();` with `b` red and `b2` green and nothing else tinted, and the places and the replay with it; round 3's `two` test reads the words `one`, `1` that went and `two`, `2` that came; core-test 904/1064 (160 skipped), shell-test 1106/1109 (3 skipped)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/builtins.zig')
0 files changed, 0 insertions, 0 deletions
