Expand description
A multi-line text editor
Structs§
- Content
- The content of a
TextEditor. - Cursor
- The range of an
Editor. - Id
- The identifier of a
TextEditor. - KeyPress
- A key press.
- Line
- A line of an
Editor. - Position
- A cursor position in an
Editor. - State
- The state of a
TextEditor. - Style
- The appearance of a text input.
- Text
Editor
Enums§
- Action
- An interaction with an
Editor. - Binding
- A binding to an action in the
TextEditor. - Edit
- An action that edits text.
- Line
Ending - The line ending of a
Line. - Motion
- A cursor movement.
- Selection
- The cursor of an
Editor. - Status
- The possible status of a
TextEditor.
Traits§
- Catalog
- The theme catalog of a
TextEditor.
Functions§
- text_
editor - Creates a new
TextEditorfrom the givenContent.
Type Aliases§
- StyleFn
- A styling function for a
TextEditor.