summaryrefslogtreecommitdiff
path: root/core/config.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-21 15:15:41 -0300
committerGabriel Schneider <[email protected]>2026-11-21 15:40:27 -0300
commit2b9da7be7d9520701b24d46d8db2ec56517b45b8 (patch)
treec434298ecf4b6d77c6bee55a6e485e6abca050ca /core/config.zig
parenta86e213e3e8053906df5ed4a37821c41a4afd932 (diff)
downloadpardes-2b9da7be7d9520701b24d46d8db2ec56517b45b8.tar.gz
pardes-2b9da7be7d9520701b24d46d8db2ec56517b45b8.zip
layers: the lanes tell the truth about the text in the pane: jj annotates its last snapshot (`--ignore-working-copy`), not the keys typed since, so annotate's answer now carries each line's text (`id\tcontent`, the same one run) and `jj.provenance` lines the annotated text up with the pane's by what the two agree on at either end (`File.spanOf`, the editor's differ; the one line its two ends meet inside counts when its bytes agree: an inserted line shares its indent with the line after it), a line only the pane has nobody's (no lane, no ground); and an edit after `Changes` carries the per-line values with the lines (`jj.edited`: one call in `File.edit`, the one place a text changes, an undo's too, made only while the session has pinned changes): the lines a splice takes out take their values with them, a line it puts in is nobody's, and a splice that starts in a line's leading blanks (as `o` puts a line in) leaves that line's value after what it puts in; jj is never asked again on a key; tests: a line on disk jj has not snapshotted is nobody's and the lines after it keep their changes; a line typed in a nested block (`o`) is nobody's and the rows around keep their lanes, its undo puts the values back, a deleted line takes its value, a client replaying the keys ends equal; core-test 901/1061 (160 skipped), shell-test 1103/1106 (3 skipped)
Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/config.zig')
0 files changed, 0 insertions, 0 deletions