Vixen
dd8b0a81

Core · guide

Secure text input

SecureTextBox holds what was typed and draws bullets — the field a login screen needs, which this control set did not have. The masking is one seam on TextField, the pre-edit is masked with the value, and there is deliberately no reveal button.

Edit this page on GitHub

Documents

Next

  • Text input and the input method — How typed text reaches a control, why an input method's pre-edit is a different event from typed text and what a field does with it, why the pre-edit is shown but is not the value, where the caret goes while a composition is running, what a platform head has to do for any of it to arrive, and why a caret index alone cannot say where the caret is at a wrap or a change of direction.
  • The accessibility tree — A role, a name, a value, a state and a set of relations on every element, computed from what a control already holds rather than mirrored into it — plus one coalesced per-frame event, so a screen-reader bridge can cache a tree and diff it instead of asking a node at a time.