mirror of
https://github.com/openai/codex.git
synced 2026-10-21 17:48:44 +00:00
## What changed Move selection units, word and logical-line boundaries, click counting, and copy-key detection into `text_selection`, and update the transcript view to use them. Clamp selection offsets to valid UTF-8 boundaries and exclude key-release events from copy-key detection. Make `TranscriptView::cancel_search` accessible throughout the crate. ## Testing Update existing text-layout tests to exercise the shared selection ranges for wrapped lines, combining characters, and empty logical lines. GitOrigin-RevId: 6a8b44b4aa97fe2965a5e330121dc22fddc335b5