Expand description
Selectable text as a fluent modifier on Text views.
Mirrors Compose-style selection for a single Text:
- Drag to select (byte range, multi-line highlight)
- Double-tap -> select word under pointer
- Triple-tap -> select all
- Shift+click / shift+drag -> extend from previous anchor
- Primary selection (middle-click paste) + Ctrl/Cmd+C via
Action::Copy
The highlight itself is painted by the layout engine from the node’s real
text layout (Compose’s SelectionController drawing
getPathForRange), so it tracks wrapping, line height and text alignment.
Traits§
- Selectable
Text Ext - Fluent selectable modifier for
Textviews.
Functions§
- Selectable
Text - Backward-compatible free function.