From fb87946e09bf33c0fe663ccba6db14a63e7cfda4 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 28 Sep 2026 19:31:46 -0300 Subject: 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 --- docs/selections.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') 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. -- cgit v1.3