From b660adabce36e90cbfbb52d95715528983376ab5 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 28 Sep 2026 22:02:04 -0300 Subject: A pane whose whole text fits in its rows never scrolls to keep a margin The scroll margin reveals text; with none off screen there is nothing to reveal. ensureCursorVisible and a centred look both leave such a pane at its top. A longer file keeps helix's clamp (hxdiff and hxparity unchanged). Co-Authored-By: Claude Opus 5.5 --- test/snapshots/find.golden | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'test/snapshots/find.golden') diff --git a/test/snapshots/find.golden b/test/snapshots/find.golden index 50557fad..e6e1bac1 100644 --- a/test/snapshots/find.golden +++ b/test/snapshots/find.golden @@ -65,15 +65,9 @@ |12: /tmp/pardes-snap/find/cwd/sub/nest/zqmark-gamma.txt Save Tty Collapse Del |13: 1 gamma body == snap third grid=120x41 cursor=7,16 -|6: 2 sub/nest/zqmark-gamma.txt -|7: 3 zqmark-alpha.txt -|8: 4 |15: /tmp/pardes-snap/find/cwd/zqmark-alpha.txt Save Tty Collapse Del |16: 1 alpha body == snap back grid=120x41 cursor=7,13 -|6: 1 sub/ZQMARK-beta.txt -|7: 2 sub/nest/zqmark-gamma.txt -|8: 3 zqmark-alpha.txt == snap word grid=120x41 cursor=7,13 |3: 1 Find Find |4: Find / @@ -81,11 +75,8 @@ |3: 1 Find Find / |4: |13: 1 gamma body Last -== snap nomatch grid=120x41 cursor=7,7 +== snap nomatch grid=120x41 cursor=7,8 |3: 1 Find -|6: 2 sub/nest/zqmark-gamma.txt -|7: 3 zqmark-alpha.txt -|8: 4 |13: 1 gamma body |18: /tmp/pardes-snap/find/cwd/+Search Save Tty Collapse Del |19: 1 -- cgit v1.3