diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-17 00:05:09 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-17 12:15:01 -0300 |
| commit | c50226bdad46ed69643079e7c6f3e8ade3a034a1 (patch) | |
| tree | a6fc7ae80d7f5f26da1f9771f2fc9ef5a473a24f /docs/next-editor.md | |
| parent | fa504c392b5f3c04a7cfce74566e23cb94ddd6cf (diff) | |
| download | pardes-c50226bdad46ed69643079e7c6f3e8ade3a034a1.tar.gz pardes-c50226bdad46ed69643079e7c6f3e8ade3a034a1.zip | |
colors: a style byte's four high bits are grounds a theme resolves, not a diff's: syntax.ground_add and ground_del (a row's hue), ground_emph (the stronger ground), ground_line (the faint one), the byte as it was; DiffTints moves from File.zig to colors.zig as Grounds (an add and a del Ground: row, emph, line, ink), the same Oklab mixes and marker contrast; the painter has one rule, a row's first byte says its ground (emph the stronger to the pane's edge, line the faint, neither none, its marker in the hue) and a later byte's emph is its cell's, so it stops asking the pane's colour algorithm (`row_tint = algo == .diff`) and works the grounds out once a frame only for a row that names a hue; highlightDiff marks an added or removed line's first byte emph, the strong row a .diff's rows always had; recolorDiffOutput reads the same Grounds; goldens unchanged (diffview, pagercolor, diffstack), render of the 50k-line file 11,723,421 user instructions a frame before and 11,724,208 after (+0.007%, perf stat over ReleaseFast pardes-perf, 210 frames less 10)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'docs/next-editor.md')
0 files changed, 0 insertions, 0 deletions
