TextRangeUnit
enum · ferroui-controls · v0.5.0
enum TextRangeUnit
Implemented TOM units, with their native numeric values. Display lines use the editor's associated view and otherwise follow the native paragraph fallback. Range Character and selection MoveBy traverse Unicode scalars without splitting surrogate pairs. Selection MoveLeft/MoveRight follow grapheme boundaries, matching their arrow-command contract. Cluster uses the associated view's shaping output and requires a complete, untrimmed layout. It never substitutes Unicode grapheme boundaries.
Members
Character
Character = 0
Word
Word = 1
Sentence
Sentence = 2
Paragraph
Paragraph = 3
Line
Line = 4
Story
Story = 5
HardParagraph
HardParagraph = 12
Cluster
Cluster = 13
Document
const Document: Self
Compatibility name for the one story represented by a FerroUI document.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedResourceKeyObjectPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqEqHashMarkupTypedValueTypeRegistration
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.