rat_widget

Module text_input

Source
Expand description

Text-Input widget

  • Undo/redo
  • Sync another widget
  • Support double-width characters
  • Range based text styling
  • Clipboard trait to link to some clipboard implementation.

Structs§

TextInput
Text input widget.
TextInputState
State for TextInput.

Functions§

handle_events
Handle all events. Text events are only processed if focus is true. Mouse events are processed if they are in range.
handle_mouse_events
Handle only mouse-events.
handle_readonly_events
Handle only navigation events. Text events are only processed if focus is true. Mouse events are processed if they are in range.