summaryrefslogtreecommitdiff
path: root/test/snapshots/lookrange.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-24 12:43:02 -0300
committerGabriel Schneider <[email protected]>2026-10-24 13:11:11 -0300
commit1af098381515fbe3a4fe678cd023c7fd74418ae1 (patch)
tree34f8f1495ddbea9542d23af68db53f244a1ec4c5 /test/snapshots/lookrange.snap
parent8ac6db5662dd2db0f082e1651835f1db36e235f8 (diff)
downloadpardes-1af098381515fbe3a4fe678cd023c7fd74418ae1.tar.gz
pardes-1af098381515fbe3a4fe678cd023c7fd74418ae1.zip
Search converge 5/6: the old search pipeline phased out, the notice-band / for texts, Find/Grep prompts and walks on the loop, +Recent, n/N as Look-the-next-row; docs, tutor, Help and goldens to the query pane
Diffstat (limited to 'test/snapshots/lookrange.snap')
-rw-r--r--test/snapshots/lookrange.snap22
1 files changed, 9 insertions, 13 deletions
diff --git a/test/snapshots/lookrange.snap b/test/snapshots/lookrange.snap
index eb1db60a..5133e911 100644
--- a/test/snapshots/lookrange.snap
+++ b/test/snapshots/lookrange.snap
@@ -51,28 +51,24 @@ release right 12 7
stable 700 15000
snap stale
snapstyle stale
-# --- and now the first consumer. The look above left r.txt focused, so `/`
-# arms on it: the rows it writes carry the match's span, and the submit goes
-# straight to the first of them — with the word itself selected, which is the
-# whole reason the row spells a range and not a position.
+# --- and `/`: its query pane under r.txt, line 1 the pattern, the lines
+# holding it as rows (a line number in the gutter, the match tinted); Enter
+# puts the keyboard on the match after the cursor, the word itself selected.
key /
text NEEDLE
-key enter
-# Locations stack the target under its line now: two rows, two waits.
-wait 10000 r.txt:7:4-9
wait 10000 gg NEEDLE gg
stable 700 15000
+key enter
+stable 700 15000
snap hit1
snapstyle hit1
-# n selects the next row, and the Enter after it goes to that hit
-key space j n
-key enter
+# n: the next match in the text, selected
+text n
stable 700 15000
snap hit2
snapstyle hit2
-# N walks back onto the first hit; Enter looks it, still selected
-key space j p
-key enter
+# N walks back onto the first, still selected
+text N
stable 700 15000
snap back
snapstyle back