diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-06 21:08:40 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:07 -0300 |
| commit | f442004dcd8e91114765a918201ecabe99f69eeb (patch) | |
| tree | 141d8991a753e82cb3d897c8a717230c2c82913e /test/snapshots/hscroll.golden | |
| parent | 49f8c696ea208d2653521699d77d7e8f48cac183 (diff) | |
| download | pardes-f442004dcd8e91114765a918201ecabe99f69eeb.tar.gz pardes-f442004dcd8e91114765a918201ecabe99f69eeb.zip | |
horizontal scroll for file panes (terminals wrap at pty width — nothing to scroll): pane.hscroll cuts content columns after the lineno gutter in bodyText (post edit-splice, so typed runs shift with the text), no scrollbar. Drivers: horizontal wheel (new wheel_left/right Mouse.Buttons, SGR 66/67 via vaxis on the tty, SDL wheel.x on the gui, ±4 cols, clamped at 0, right overscroll allowed) and keyboard movement — ensureCursorVisible grew the horizontal mirror of the scrolloff reconcile, so $ pulls the view right with 3 columns of margin and 0 reels it home; the wheel never moves the cursor. Shifted alongside: syntax recolor pass, modal cursor paint (hidden when off-view), vsel highlight, click->content-col mapping, cursorWordSel. Byte columns like the rest of the file-pane code. New hscroll.snap golden: wheel shift with fixed gutter, left clamp, $ margin follow, 0 home. 30/30.
Diffstat (limited to 'test/snapshots/hscroll.golden')
| -rw-r--r-- | test/snapshots/hscroll.golden | 155 |
1 files changed, 155 insertions, 0 deletions
diff --git a/test/snapshots/hscroll.golden b/test/snapshots/hscroll.golden new file mode 100644 index 00000000..3eed48f8 --- /dev/null +++ b/test/snapshots/hscroll.golden @@ -0,0 +1,155 @@ +== snap opened grid=60x30 cursor=7,2 +|Kill Newcol Tutor Debug Colors NextColor Dump +| NOR /tmp/pardes-snap/hscroll NOR /tmp/pardes-snap/hscroll +| 1 short1 END_A_MARKER_WAY +| wide.txt +| +| +| +|╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ +| NOR /tmp/pardes-snap/hscroll +| +| wide.txt +| +| +| +| wide.txt +| +| NOR /tmp/pardes-snap/hscroll +| +| wide.txt +| +| +| +| +| +| +| +| +| +| +| +== snap wheeled grid=60x30 cursor=7,2 +|Kill Newcol Tutor Debug Colors NextColor Dump +| NOR /tmp/pardes-snap/hscroll NOR /tmp/pardes-snap/hscroll +| 1 ND_A_MARKER_WAY_OUT_RIG +| wide.txt +| +| +| +| +| NOR /tmp/pardes-snap/hscroll +| +| wide.txt +| +| +| +| wide.txt +| +| NOR /tmp/pardes-snap/hscroll +| +| wide.txt +| +| +| +| +| +| +| +| +| +| +| +== snap clamped grid=60x30 cursor=7,2 +|Kill Newcol Tutor Debug Colors NextColor Dump +| NOR /tmp/pardes-snap/hscroll NOR /tmp/pardes-snap/hscroll +| 1 short1 END_A_MARKER_WAY +| wide.txt +| +| +| +| +| NOR /tmp/pardes-snap/hscroll +| +| wide.txt +| +| +| +| wide.txt +| +| NOR /tmp/pardes-snap/hscroll +| +| wide.txt +| +| +| +| +| +| +| +| +| +| +| +== snap dollar grid=60x30 cursor=26,2 +|Kill Newcol Tutor Debug Colors NextColor Dump +| NOR /tmp/pardes-snap/hscroll NOR /tmp/pardes-snap/hscroll +| 1 padpadpadpadpad_TAIL +| wide.txt +| +| +| +| +| NOR /tmp/pardes-snap/hscroll +| +| wide.txt +| +| +| +| wide.txt +| +| NOR /tmp/pardes-snap/hscroll +| +| wide.txt +| +| +| +| +| +| +| +| +| +| +| +== snap zero grid=60x30 cursor=7,2 +|Kill Newcol Tutor Debug Colors NextColor Dump +| NOR /tmp/pardes-snap/hscroll NOR /tmp/pardes-snap/hscroll +| 1 short1 END_A_MARKER_WAY +| wide.txt +| +| +| +| +| NOR /tmp/pardes-snap/hscroll +| +| wide.txt +| +| +| +| wide.txt +| +| NOR /tmp/pardes-snap/hscroll +| +| wide.txt +| +| +| +| +| +| +| +| +| +| +| |
