diff options
| author | Gabriel Schneider <[email protected]> | 2026-08-01 22:44:11 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-10 09:17:07 -0300 |
| commit | cbcdf01764e2e144a821643c3a8e9a5ad39eda2e (patch) | |
| tree | 9b4f45a5e2cc988b2cac1b3606379e682885c5a1 /test/snapshots | |
| parent | 0ef86a17988cac1e09cea2d0b5d80a21e81d7a2e (diff) | |
| download | pardes-cbcdf01764e2e144a821643c3a8e9a5ad39eda2e.tar.gz pardes-cbcdf01764e2e144a821643c3a8e9a5ad39eda2e.zip | |
search look goldens: fsearch/grep/psearch/rsearch updated
Diffstat (limited to 'test/snapshots')
| -rw-r--r-- | test/snapshots/find.golden | 8 | ||||
| -rw-r--r-- | test/snapshots/find.snap | 7 | ||||
| -rw-r--r-- | test/snapshots/fsearch.golden | 2 | ||||
| -rw-r--r-- | test/snapshots/grep.golden | 16 | ||||
| -rw-r--r-- | test/snapshots/grep.snap | 4 | ||||
| -rw-r--r-- | test/snapshots/psearch.golden | 8 | ||||
| -rw-r--r-- | test/snapshots/rsearch.golden | 42 |
7 files changed, 46 insertions, 41 deletions
diff --git a/test/snapshots/find.golden b/test/snapshots/find.golden index 8b823866..ed7c5cdc 100644 --- a/test/snapshots/find.golden +++ b/test/snapshots/find.golden @@ -323,9 +323,9 @@ | | | /tmp/pardes-snap/find/cwd/+Search Del +| 1 sub/ZQMARK-beta.txt | 2 sub/nest/zqmark-gamma.txt | 3 zqmark-alpha.txt -| 4 == snap back grid=120x40 cursor=7,2 |Kill Newcol Tutor Debug NextColor Dump Find Grep Help | /tmp/pardes-snap/find/cwd/here.txt Save Del /tmp/pardes-snap/find/cwd Del @@ -493,8 +493,8 @@ == snap refit grid=120x40 cursor=7,2 |Kill Newcol Tutor Debug NextColor Dump Find Grep Help | /tmp/pardes-snap/find/cwd/here.txt Save Del /tmp/pardes-snap/find/cwd Del -|╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ -| /tmp/pardes-snap/find/cwd/+Search Del here.txt other.txt sub zqmark-alpha.txt +| 1 Find +| here.txt other.txt sub zqmark-alpha.txt | /tmp/pardes-snap/find/cwd/+Search Del | 1 | /tmp/pardes-snap/find/cwd/zqmark-alpha.txt Save Del @@ -535,7 +535,7 @@ |Kill Newcol Tutor Debug NextColor Dump Find Grep Help | /tmp/pardes-snap/find/cwd/here.txt Save Del /tmp/pardes-snap/find/cwd Del | 1 Find -| /tmp/pardes-snap/find/cwd/+Search Del here.txt other.txt sub zqmark-alpha.txt +| here.txt other.txt sub zqmark-alpha.txt | /tmp/pardes-snap/find/cwd/+Search Del | 1 | /tmp/pardes-snap/find/cwd/zqmark-alpha.txt Save Del diff --git a/test/snapshots/find.snap b/test/snapshots/find.snap index 5a4d6a38..c1467d89 100644 --- a/test/snapshots/find.snap +++ b/test/snapshots/find.snap @@ -78,8 +78,11 @@ stable 700 10000 key n stable 400 5000 snap nomatch -# ... and it grows BACK when the next search finds more: the refit trades rows -# with the neighbour in both directions, so three hits are three rows again +# ... and asking for `zqm` AGAIN re-arms the list it ALREADY filled instead of +# stacking an identical twin under the empty one — even though n/N were armed +# on the zzqq list, so the reuse is by what a buffer HOLDS (this search, this +# pattern, this directory), not by which one the pane happens to point at. The +# frame is therefore the `results` frame unchanged, down to the byte. key space key f key f diff --git a/test/snapshots/fsearch.golden b/test/snapshots/fsearch.golden index 8f98c64d..25c9340f 100644 --- a/test/snapshots/fsearch.golden +++ b/test/snapshots/fsearch.golden @@ -212,9 +212,9 @@ | | | /tmp/pardes-snap/fsearch/cwd/+Search Del +| 1 g.txt:2:1-4 MARK a | 2 g.txt:6:1-4 MARK b | 3 g.txt:10:1-4 MARK c -| 4 == snap back grid=180x30 cursor=10,7 |Kill Newcol Tutor Debug NextColor Dump Find Grep Help | /tmp/pardes-snap/fsearch/cwd/g.txt Save Del /tmp/pardes-snap/fsearch/cwd Del /tmp/pardes-snap/fsearch/cwd Del diff --git a/test/snapshots/grep.golden b/test/snapshots/grep.golden index 78e7c21c..c913a0ac 100644 --- a/test/snapshots/grep.golden +++ b/test/snapshots/grep.golden @@ -150,9 +150,9 @@ | | | /tmp/pardes-snap/grep/cwd/+Search Del +| 1 a.txt:1:7-12 hello TARGET one | 2 a.txt:3:6-11 last TARGET line | 3 sub/b.txt:2:1-6 TARGET inside sub -| 4 == snap nomatch grid=180x30 cursor=17,4 |Kill Newcol Tutor Debug NextColor Dump Find Grep Help | /tmp/pardes-snap/grep/cwd/a.txt Save Del /tmp/pardes-snap/grep/cwd Del /tmp/pardes-snap/grep/cwd Del @@ -181,9 +181,9 @@ | | | /tmp/pardes-snap/grep/cwd/+Search Del +| 1 a.txt:1:7-12 hello TARGET one | 2 a.txt:3:6-11 last TARGET line | 3 sub/b.txt:2:1-6 TARGET inside sub -| 4 == snap chordsel grid=180x30 cursor=19,2 |Kill Newcol Tutor Debug NextColor Dump Find Grep Help | /tmp/pardes-snap/grep/cwd/a.txt Save Del /tmp/pardes-snap/grep/cwd Del /tmp/pardes-snap/grep/cwd Del @@ -212,9 +212,9 @@ | | | /tmp/pardes-snap/grep/cwd/+Search Del +| 1 a.txt:1:7-12 hello TARGET one | 2 a.txt:3:6-11 last TARGET line | 3 sub/b.txt:2:1-6 TARGET inside sub -| 4 == snap chord grid=180x30 cursor=19,2 |Kill Newcol Tutor Debug NextColor Dump Find Grep Help | /tmp/pardes-snap/grep/cwd/a.txt Save Del /tmp/pardes-snap/grep/cwd Del /tmp/pardes-snap/grep/cwd Del @@ -224,10 +224,10 @@ | | | a.txt -| /tmp/pardes-snap/grep/cwd/+Search Del -| 1 a.txt:1:7-12 hello TARGET one -| 2 a.txt:3:6-11 last TARGET line -| 3 sub/b.txt:2:1-6 TARGET inside sub +| +| +| +| | /tmp/pardes-snap/grep/cwd/+Search Del | 1 | /tmp/pardes-snap/grep/cwd/sub/b.txt Save Del @@ -243,6 +243,6 @@ | | | /tmp/pardes-snap/grep/cwd/+Search Del +| 1 a.txt:1:7-12 hello TARGET one | 2 a.txt:3:6-11 last TARGET line | 3 sub/b.txt:2:1-6 TARGET inside sub -| 4 diff --git a/test/snapshots/grep.snap b/test/snapshots/grep.snap index af05f2d8..f83b1fba 100644 --- a/test/snapshots/grep.snap +++ b/test/snapshots/grep.snap @@ -75,7 +75,9 @@ stable 400 5000 snap nomatch # the acme chord: a builtin executed with a SELECTION held takes it as the # argument, so dragging over `TARGET` in a.txt and then clicking Grep runs the -# walk on that word at once — no tag input, nothing typed +# walk on that word at once — no tag input, nothing typed. TARGET already has +# a list open from above, so this refills THAT one; only the zzqq list below is +# a second buffer, because only it is a different search. press left 14 3 drag left 20 3 release left 20 3 diff --git a/test/snapshots/psearch.golden b/test/snapshots/psearch.golden index bda7af05..64dbb905 100644 --- a/test/snapshots/psearch.golden +++ b/test/snapshots/psearch.golden @@ -298,10 +298,10 @@ | | | -| /tmp/pardes-snap/psearch/cwd/+Search Del -| 1 @p0:2:3-6 x MARK a -| 2 @p0:4:3-6 x MARK b -| 3 @p0:6:3-6 x MARK c +| +| +| +| | /tmp/pardes-snap/psearch/cwd/+Search Del | 1 | /tmp/pardes-snap/psearch/cwd/+Search Del diff --git a/test/snapshots/rsearch.golden b/test/snapshots/rsearch.golden index d96744ee..b23be1fb 100644 --- a/test/snapshots/rsearch.golden +++ b/test/snapshots/rsearch.golden @@ -133,9 +133,9 @@ | code.txt | | -| /tmp/pardes-snap/rsearch/cwd/+Search Del -| 1 code.txt:1:5-11 run count_x now -| 2 code.txt:3:1-7 count_x again +| +| +| | /tmp/pardes-snap/rsearch/cwd/sub/dep.txt Save Del | 1 d1 | 2 d2 @@ -164,9 +164,9 @@ | code.txt | | -| /tmp/pardes-snap/rsearch/cwd/+Search Del -| 1 code.txt:1:5-11 run count_x now -| 2 code.txt:3:1-7 count_x again +| +| +| | /tmp/pardes-snap/rsearch/cwd/sub/dep.txt Save Del | 1 d1 | 2 d2 @@ -195,9 +195,9 @@ | code.txt | | -| /tmp/pardes-snap/rsearch/cwd/+Search Del -| 1 code.txt:1:5-11 run count_x now -| 2 code.txt:3:1-7 count_x again +| +| +| | /tmp/pardes-snap/rsearch/cwd/sub/dep.txt Save Del | 1 d1 | 2 d2 @@ -224,11 +224,11 @@ | 4 pick two words | | code.txt -| /tmp/pardes-snap/rsearch/cwd/+Search Del -| 1 code.txt:4:1-8 pick two words -| /tmp/pardes-snap/rsearch/cwd/+Search Del -| 1 code.txt:1:5-11 run count_x now -| 2 code.txt:3:1-7 count_x again +| +| +| +| +| | /tmp/pardes-snap/rsearch/cwd/sub/dep.txt Save Del | 1 d1 | 2 d2 @@ -252,14 +252,14 @@ | 1 run count_x now | 2 open sub/dep.txt:3 here code.txt sub code.txt sub | 3 count_x again -|╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ -| /tmp/pardes-snap/rsearch/cwd/+Search Del -| 1 code.txt:4:10-14 pick two words code.txt -| /tmp/pardes-snap/rsearch/cwd/+Search Del -| 1 code.txt:4:1-8 pick two words +| 4 pick two words +| +| code.txt +| +| +| | /tmp/pardes-snap/rsearch/cwd/+Search Del -| 1 code.txt:1:5-11 run count_x now -| 2 code.txt:3:1-7 count_x again +| 1 code.txt:4:10-14 pick two words | /tmp/pardes-snap/rsearch/cwd/sub/dep.txt Save Del | 1 d1 | 2 d2 |
