summaryrefslogtreecommitdiff
path: root/test/snapshots/look-file.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-file.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-file.golden')
-rw-r--r--test/snapshots/look-file.golden12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/snapshots/look-file.golden b/test/snapshots/look-file.golden
index 4f6d4a71..5e8166c7 100644
--- a/test/snapshots/look-file.golden
+++ b/test/snapshots/look-file.golden
@@ -1,15 +1,15 @@
-== snap file-open grid=100x30 cursor=7,2
+== snap file-open grid=100x30 cursor=7,6
|Kill Newcol Tutor Debug Colors NextColor Dump
| nm /tmp/pardes-snap/look-file/cwd/big.txt Save D nm /tmp/pardes-snap/look-file/cwd Del
+| 36 line 36
+| 37 line 37 big.txt
+| 38 line 38
+| 39 line 39
| 40 line 40
-| 41 line 41 big.txt
+| 41 line 41
| 42 line 42
| 43 line 43
| 44 line 44
-| 45 line 45
-| 46 line 46
-| 47 line 47
-| 48 line 48
| nm /tmp/pardes-snap/look-file/cwd Del
|
| big.txt