Skip to main content

Module text_input

Module text_input 

Source
Expand description

Optional original-field acknowledgements beside standard native IME delivery: no transcript, and no microphone or input ownership. A field’s purpose, its keyed fingerprint, its editing history’s status, and the receipts of edits a host defers to a field’s original owner are named here, so a toolkit and an engine share them.

Structs§

Lease
Receipt
A local receipt shared with the original caller, independent of widget lifetime.
Resolver
The original host’s one-shot completion end. Completing it grants no input authority; the host must first bind delivery to its original field owner.
UndoStatus
What the live editing history of a page can do right now, as its engine reports it.

Enums§

Failure
InputPurpose
What a field holds, for an input method to pick its layout: an email field gets @, a phone field the dial pad, a PIN the digit pad.
UndoRequest
A request that the host drive an editing history. The host performs it through the one undo implementation; a control never touches the stacks.

Functions§

acknowledge
edit_fingerprint
Keyed, ephemeral equality check for a field’s text and selection. This is invalidation metadata, never a persisted text hash or insertion authority.
publish
set_content_type

Type Aliases§

Outcome
How a deferred edit ended: the lease it was granted, if any, or why it failed.