Skip to main content

Module text_editor

Module text_editor 

Source
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.
TextEditor

Enums§

Action
An interaction with an Editor.
Binding
A binding to an action in the TextEditor.
Edit
An action that edits text.
LineEnding
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 TextEditor from the given Content.

Type Aliases§

StyleFn
A styling function for a TextEditor.