Expand description
Platform-agnostic text editing: UAX #29 grapheme/word/paragraph stepping, BiDi visual line
layout (VisualGraphemeCluster, ShapedLineLayout), and TextFocusState (caret, selection,
IME composition).
Re-exports§
pub use bidi::ShapedLineLayout;pub use bidi::VisualGraphemeCluster;pub use focus::TextFocusState;pub use grapheme::clamp_grapheme_boundary;pub use grapheme::grapheme_boundaries;pub use grapheme::grapheme_count;pub use grapheme::is_grapheme_boundary;pub use grapheme::next_grapheme_boundary;pub use grapheme::normalize_line_endings;pub use grapheme::paragraph_bounds_at;pub use grapheme::prev_grapheme_boundary;pub use grapheme::word_bounds_at;
Modules§
- bidi
- Single-line HarfBuzz + Unicode BiDi text layout, grapheme-safe visual hit-testing,
logical-to-visual caret X mapping, visual arrow navigation, and disjoint multi-run
selection geometry powered by
cosmic-text. - focus
- Platform-agnostic text focus, caret, selection, and IME composition state.
- grapheme
- UAX #29 extended grapheme cluster, word-boundary, paragraph-boundary, and line-ending
normalization primitives shared by
nativeview-backend-skiaandnativeview-skia-shell.