diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-28 22:02:04 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:15 -0300 |
| commit | b660adabce36e90cbfbb52d95715528983376ab5 (patch) | |
| tree | 655cbad2aee854430700359d454dce7f626dc651 /test/snapshots/lsp-client.golden | |
| parent | 0acd945d85887da88f2863219e706000ca738cdd (diff) | |
| download | pardes-b660adabce36e90cbfbb52d95715528983376ab5.tar.gz pardes-b660adabce36e90cbfbb52d95715528983376ab5.zip | |
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 <[email protected]>
Diffstat (limited to 'test/snapshots/lsp-client.golden')
| -rw-r--r-- | test/snapshots/lsp-client.golden | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/test/snapshots/lsp-client.golden b/test/snapshots/lsp-client.golden index e4ea4c90..17eb0d40 100644 --- a/test/snapshots/lsp-client.golden +++ b/test/snapshots/lsp-client.golden @@ -25,19 +25,5 @@ |20: 5 main.rs:5:13-15 |21: 6 let y = add(3, 4); |22: 7 -== snap gr-opened grid=100x25 cursor=21,6 -|3: 2 -|4: 3 fn main() { -|5: 4 let x = add(1, 2); -|6: 5 let y = add(3, 4); -|7: 6 let _ = x + y; -|8: 7 } -|9: 8 +== snap gr-opened grid=100x25 cursor=21,7 == snap gr-back grid=100x25 cursor=21,6 -|3: 1 mod lib; -|4: 2 -|5: 3 fn main() { -|6: 4 let x = add(1, 2); -|7: 5 let y = add(3, 4); -|8: 6 let _ = x + y; -|9: 7 } |
