diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-08 23:28:26 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-09 01:28:28 -0300 |
| commit | 2c13f29da2441d0e0fb11f11bb7a180054030cc9 (patch) | |
| tree | bff1a7a8e92d5acdc354ed4e6da956dc0fa209dc /test/snapshots/selregex.snap | |
| parent | 094b562b5b90558e82a9c3e2beea386d93bd1803 (diff) | |
| download | pardes-2c13f29da2441d0e0fb11f11bb7a180054030cc9.tar.gz pardes-2c13f29da2441d0e0fb11f11bb7a180054030cc9.zip | |
tests: the editing snapshot scripts (41: modes, selections, look, search, the language client, diffs, tags) are process cases, test/process/tty_editing.zig, their goldens unchanged; checked against the old runner by two breaks, look's centring a third of the pane down (the same 4 fail in both) and the tty reading a drag as a motion (the same 7), grep the one flake in both, cured by the run alone
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/snapshots/selregex.snap')
| -rw-r--r-- | test/snapshots/selregex.snap | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/test/snapshots/selregex.snap b/test/snapshots/selregex.snap deleted file mode 100644 index b4a042f8..00000000 --- a/test/snapshots/selregex.snap +++ /dev/null @@ -1,56 +0,0 @@ -# Interactive regex selection (`s` / `S`) and the comment toggle, on a real -# file pane. hxdiff pins what they DO against a real helix, but it is headless, -# so this is the half it cannot see: the prompt living in the TAG rather than a -# popup, the matches lighting up under a pattern as it is typed, Esc putting -# back what was there, and Ctrl-c using the token this file's EXTENSION asks -# for — `//`, where a buffer with no language would get `#`. -file m.zig const one = 1;\nconst two = 2;\nconst three = 3;\n -# wide on purpose: the whole point of this script is a tag long enough to hold -# the marker AND the pattern, and a narrow pane simply truncates it away -start 25 160 m.zig -wait 8000 m.zig -stable 700 20000 -key g g -stable 400 5000 -# `%` takes the whole file, `s` arms the regex input: the marker goes into the -# tag tail after the path, and the pane is in insert mode ON THE TAG — the -# same one-line editor `/` and Find use, and nothing has moved in the body yet. -key % -key s -stable 400 5000 -snap prompt-armed -# ...and now the point: the selection follows the pattern as it is typed. Three -# `const` runs light up with Enter nowhere near, and the colours ARE the -# feature — the primary bright, the other two dim, each with its own cursor. -text const -stable 400 5000 -snap preview -snapstyle preview -key enter -stable 400 5000 -snap three-selected -snapstyle three-selected -# a second `s` narrows the three to one `t` apiece... -key s -text t -stable 400 5000 -snap narrowed -# the grid text cannot show a selection, so this is where the styles carry the -# whole point: three one-cell ranges here, three five-cell ones after the Esc -snapstyle narrowed -# ...and Esc throws that away for the selection the prompt opened on, which is -# free: the preview is re-derived from that snapshot on every keystroke, so -# cancelling is just applying the empty pattern. -key esc -settle 100 -stable 400 5000 -snap esc-restores -snapstyle esc-restores -# Ctrl-c comments every line the three cursors touch — one decision for the -# whole selection, not one per cursor — and again to take it back off. -key c-c -stable 400 5000 -snap commented -key c-c -stable 400 5000 -snap uncommented |
