Module text

Source
Expand description

Text editing core functionality and utilities.

Modules§

clipboard
There are too many clipboard crates.
core
Core structs for text-editing. Used to implement the widgets.
undo_buffer
Undo functionality.

Macros§

impl_screen_cursor
Create the implementation of HasScreenCursor for the given list of struct members.

Structs§

Glyph
Data for rendering/mapping graphemes to screen coordinates.
Grapheme
One grapheme.
TextPosition
Text position.
TextRange
Exclusive range for text ranges.
TextStyle
Combined style for the widget.

Enums§

Locale
Locales matching the locales in glibc.
TextError
TextFocusGained
Behavior modifiers.
TextFocusLost
Behaviour modifiers.

Traits§

Cursor
Trait for a cursor (akin to an Iterator, not the blinking thing).
HasScreenCursor
Trait for accessing the screen-cursor.

Functions§

screen_cursor
Returns the screen_cursor for the first widget that returns one.

Type Aliases§

ipos_type
Row/Column type.
upos_type
Row/Column type.