Logo FS-Skia-UI

TextInputModel Type

The MVU state of a text field: committed vs. draft text, `CaretIndex`, `Selection`, in-flight `Composition`, `Validation`, and focus.

Record fields

Record Field Description

CaretIndex

Full Usage: CaretIndex

Field type: int
Field type: int

CommittedText

Full Usage: CommittedText

Field type: string
Field type: string

Composition

Full Usage: Composition

Field type: string option
Field type: string option

ControlId

Full Usage: ControlId

Field type: ControlId
Field type: ControlId

DraftText

Full Usage: DraftText

Field type: string
Field type: string

Focused

Full Usage: Focused

Field type: bool
Field type: bool

Mode

Full Usage: Mode

Field type: TextInputMode
Field type: TextInputMode

Selection

Full Usage: Selection

Field type: TextSelection option
Field type: TextSelection option

Validation

Full Usage: Validation

Field type: ValidationState
Field type: ValidationState

Type something to start searching.