diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-28 19:31:46 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:15 -0300 |
| commit | fb87946e09bf33c0fe663ccba6db14a63e7cfda4 (patch) | |
| tree | 908506111171e2e7bc4bc7c176171449115d24f0 /docs | |
| parent | 2580dd5ea85d86262c94363dfea9f990eaf56196 (diff) | |
| download | pardes-fb87946e09bf33c0fe663ccba6db14a63e7cfda4.tar.gz pardes-fb87946e09bf33c0fe663ccba6db14a63e7cfda4.zip | |
A B1 sweep held past a pane's edge scrolls the body, as acme's frselect does
Dragging a selection beyond the top or bottom of a pane stopped at the last visible row. Now, while B1 is held past the body's top or bottom (at a pane that reaches the screen's bottom, its last row, since the pointer cannot leave the screen), the body scrolls a line a tick; the sweep's start keeps its place in the text, and a sweep that scrolled ends as the text's own selection. Also here: a ctrl-click is not half a double-click (lspdebug's golden stays as it was), and a test that clicks many points in a row resets the double-click between them.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/selections.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/selections.md b/docs/selections.md index 7ec58f2b..0817c215 100644 --- a/docs/selections.md +++ b/docs/selections.md @@ -141,3 +141,10 @@ B1-B3 pastes over it. Everything done while B1 stays down is one undo step, as acme marks the file once per B1 hold (text.c:881, textselect), so B1-B2 then B1-B3 is a copy: the text cut and pasted back, the cut text left in the register. + +A B1 sweep held past a pane's top (on its tag) or bottom (past it, or on +its last row when the pane reaches the screen's bottom, which the pointer +cannot leave) scrolls the body a line a tick, as acme's frselect scrolls, +the sweep's end under the pointer and its start on its text. A sweep that +scrolled ends as the text's own selection, from where it began to where it +ended. B2 and B3 sweeps do not scroll. |
