summaryrefslogtreecommitdiff
path: root/test/snapshots/cursorline.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-06 14:34:07 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commita45d29ca200341f5d41fad634c18df96605df8ab (patch)
tree026360031687e40f1e5af7c40caeb59a3b292d91 /test/snapshots/cursorline.snap
parentde4def3548a6729b0dfd2120495a61beef8c8c2c (diff)
downloadpardes-a45d29ca200341f5d41fad634c18df96605df8ab.tar.gz
pardes-a45d29ca200341f5d41fad634c18df96605df8ab.zip
cursor-line gutter highlight: the line number on the cursor's row takes the tag style (tag_fg/tag_bg), resolved at render time from the theme like the rest of the chrome. Same row math as the cursor pass (pinned cur_row or emulator cursor + scroll), gated on active && !tag_edit so only the focused file pane shows it. New cursorline snap script + golden proves it follows j-movement; look-file/syntax style goldens regenerated (cursor-row gutter cells only). 19/19 snap green.
Diffstat (limited to 'test/snapshots/cursorline.snap')
-rw-r--r--test/snapshots/cursorline.snap25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/snapshots/cursorline.snap b/test/snapshots/cursorline.snap
new file mode 100644
index 00000000..f9b3de5b
--- /dev/null
+++ b/test/snapshots/cursorline.snap
@@ -0,0 +1,25 @@
+# cursor-line gutter: the line number on the cursor's row takes the tag style
+# and follows modal movement (gg to the top, then jjj down three lines)
+lines cur.txt 20
+start 30 100
+wait 8000 cur.txt
+stable 700 20000
+press left 5 8
+release left 5 8
+stable 400 5000
+key i
+text cur.txt
+key esc
+settle 700
+stable 400 5000
+press right 6 8
+release right 6 8
+stable 700 15000
+key g g
+stable 400 5000
+snap top
+snapstyle top
+key j j j
+stable 400 5000
+snap down3
+snapstyle down3