summaryrefslogtreecommitdiff
path: root/test/snapshots/look-center.golden
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-06 14:49:20 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commit430914371acd3fe46c31d7be900214e7ea03f657 (patch)
tree83c8eae33356b068fa580c172180a308d5bc1bb5 /test/snapshots/look-center.golden
parentde4def3548a6729b0dfd2120495a61beef8c8c2c (diff)
downloadpardes-430914371acd3fe46c31d7be900214e7ea03f657.tar.gz
pardes-430914371acd3fe46c31d7be900214e7ea03f657.zip
look on path:NN centers the target line in the pane body (scroll = line - body/2, clamped at 0): fresh opens lay out first (computeGeom after placeDoc) to center with the real body height; dedup re-looks recenter the existing pane. look-file golden shifts accordingly; new look-center snap proves fresh-open centering, dedup recentering, and the top clamp.
Diffstat (limited to 'test/snapshots/look-center.golden')
-rw-r--r--test/snapshots/look-center.golden93
1 files changed, 93 insertions, 0 deletions
diff --git a/test/snapshots/look-center.golden b/test/snapshots/look-center.golden
new file mode 100644
index 00000000..f2fe15a4
--- /dev/null
+++ b/test/snapshots/look-center.golden
@@ -0,0 +1,93 @@
+== snap center-open grid=100x30 cursor=7,6
+|Kill Newcol Tutor Debug Colors NextColor Dump
+| nm /tmp/pardes-snap/look-center/cwd/big.txt Save nm /tmp/pardes-snap/look-center/cwd Del
+| 96 line 96
+| 97 line 97 big.txt
+| 98 line 98
+| 99 line 99
+| 100 line 100
+| 101 line 101
+| 102 line 102
+| 103 line 103
+| 104 line 104
+| nm /tmp/pardes-snap/look-center/cwd Del
+|
+| big.txt
+|
+|
+|
+| big.txt:100 big.txt:150 big.txt:2
+|
+|
+|
+| nm /tmp/pardes-snap/look-center/cwd Del
+|
+| big.txt
+|
+|
+|
+|
+|
+|
+== snap center-dedup grid=100x30 cursor=4,17
+|Kill Newcol Tutor Debug Colors NextColor Dump
+| nm /tmp/pardes-snap/look-center/cwd/big.txt Save nm /tmp/pardes-snap/look-center/cwd Del
+| 146 line 146
+| 147 line 147 big.txt
+| 148 line 148
+| 149 line 149
+| 150 line 150
+| 151 line 151
+| 152 line 152
+| 153 line 153
+| 154 line 154
+| nm /tmp/pardes-snap/look-center/cwd Del
+|
+| big.txt
+|
+|
+|
+| big.txt:100 big.txt:150 big.txt:2
+|
+|
+|
+| nm /tmp/pardes-snap/look-center/cwd Del
+|
+| big.txt
+|
+|
+|
+|
+|
+|
+== snap center-clamp grid=100x30 cursor=4,17
+|Kill Newcol Tutor Debug Colors NextColor Dump
+| nm /tmp/pardes-snap/look-center/cwd/big.txt Save nm /tmp/pardes-snap/look-center/cwd Del
+| 1 line 1
+| 2 line 2 big.txt
+| 3 line 3
+| 4 line 4
+| 5 line 5
+| 6 line 6
+| 7 line 7
+| 8 line 8
+| 9 line 9
+| nm /tmp/pardes-snap/look-center/cwd Del
+|
+| big.txt
+|
+|
+|
+| big.txt:100 big.txt:150 big.txt:2
+|
+|
+|
+| nm /tmp/pardes-snap/look-center/cwd Del
+|
+| big.txt
+|
+|
+|
+|
+|
+|