mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 16:14:40 +00:00
Completes parity #5. `fieldExtend` kept a pure word-snap, so the in-field start/end handles couldn't be fine-tuned to a single character. Now it keeps per-drag state (reset on a >250ms gap or edge switch) and matches native `Editor` word-selection drags: the gesture baselines at the current selection edge, sweeping past that word's far boundary snaps to the next whole word (never stopping mid-gap), and moving within / back from the furthest-reached word gives character precision. Symmetric for both handles. Page-text extend stays character-granular. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>