Select text in the message box: Shift with the movement keys and the mouse (ATC-238) #5

Merged
merge-queue merged 2 commits from select-text into main 2026-11-29 14:22:52 -08:00
Owner

Text in the message box can be selected, for ATC-238.

Added

  • Shift with Left, Right, Up, Down, Home and End selects as the cursor moves; with Ctrl (or Alt) the word and paragraph moves select too. Shift+Up on the first row selects to the message's start, Shift+Down on the last to its end. Ctrl+Shift+Home and Ctrl+Shift+End select to the message's start or end.
  • Typing, a paste (Insert), a new line, Backspace, Delete and every deleting key replace or take the selection, as one change undo puts back.
  • Mouse calls for the app to make: Drag selects from the last Click to a cell (scrolling the box a row past its top or bottom), SelectWord and SelectLine for a double- and triple-click. Atoms are taken whole.
  • Selection, Cut, SelectAll, ClearSelection and Selecting; the box has no clipboard, so copying stays the app's.
  • Styles.Selection draws it (unset, the message reversed). View draws no cursor cell while text is selected, and a selected line break shows as a cell, so a selected empty line is visible.

Changed

  • Plain Left and Right with a selection end it at its start or end; every other move, Click, SetValue, SetPosition, MoveToEnd, Replace, undo and redo end it.
  • Shift+Up and Shift+Down past the first or last row are now the box's (they were Unhandled). Ctrl+Home and Ctrl+End without Shift stay the app's.

Not changed: no key for select all (Ctrl+A stays the row's start), and no command was added to Commands, so gvoice-tui's menu is unchanged when it takes this.

🤖 Generated with Claude Code

Text in the message box can be selected, for [ATC-238](https://openproject.home.romaine.life/wp/ATC-238). **Added** - Shift with Left, Right, Up, Down, Home and End selects as the cursor moves; with Ctrl (or Alt) the word and paragraph moves select too. Shift+Up on the first row selects to the message's start, Shift+Down on the last to its end. Ctrl+Shift+Home and Ctrl+Shift+End select to the message's start or end. - Typing, a paste (`Insert`), a new line, Backspace, Delete and every deleting key replace or take the selection, as one change undo puts back. - Mouse calls for the app to make: `Drag` selects from the last `Click` to a cell (scrolling the box a row past its top or bottom), `SelectWord` and `SelectLine` for a double- and triple-click. Atoms are taken whole. - `Selection`, `Cut`, `SelectAll`, `ClearSelection` and `Selecting`; the box has no clipboard, so copying stays the app's. - `Styles.Selection` draws it (unset, the message reversed). `View` draws no cursor cell while text is selected, and a selected line break shows as a cell, so a selected empty line is visible. **Changed** - Plain Left and Right with a selection end it at its start or end; every other move, `Click`, `SetValue`, `SetPosition`, `MoveToEnd`, `Replace`, undo and redo end it. - Shift+Up and Shift+Down past the first or last row are now the box's (they were `Unhandled`). Ctrl+Home and Ctrl+End without Shift stay the app's. **Not changed**: no key for select all (Ctrl+A stays the row's start), and no command was added to `Commands`, so gvoice-tui's menu is unchanged when it takes this. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
gofmt
All checks were successful
Suite default / scope (pull_request) Successful in 18s
Suite release / module (pull_request) Has been skipped
Suite release / check-build (none, ubuntu-latest) (ubuntu-latest, none) (pull_request) Has been skipped
Suite default / check-fetches (pull_request) Has been skipped
Suite go / scope (pull_request) Successful in 20s
Suite go / check-services (pull_request) Has been skipped
Suite release / scope (pull_request) Successful in 20s
Suite release / reused-checks (pull_request) Has been skipped
Suite release / reserve (pull_request) Has been skipped
Suite release / publish (pull_request) Has been skipped
Suite release / deliver-prune (pull_request) Has been skipped
Suite release / check-package (pull_request) Has been skipped
Suite release / finalize (pull_request) Has been skipped
Suite release / home-sync (pull_request) Has been skipped
Suite release / deploy-image (pull_request) Has been skipped
Suite release / build (none, ubuntu-latest) (ubuntu-latest, none) (pull_request) Has been skipped
Suite release / deliver (pull_request) Has been skipped
Suite default / reused-checks (pull_request) Successful in 17s
Suite go / check-format (pull_request) Successful in 13s
Suite default / check-rules (pull_request) Successful in 24s
Suite default / check-logs (pull_request) Successful in 20s
Suite go / check-test-linux (pull_request) Successful in 15s
Suite go / check-test-windows (pull_request) Successful in 1m45s
merge-queue landed on main
Suite go / reused-checks (pull_request) Successful in 23s
09fac85553
merge-queue deleted branch select-text 2026-11-29 14:22:52 -08:00
Sign in to join this conversation.
No reviewers
No labels
queue
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/composer!5
No description provided.