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.
- cursor
- undo_
buffer - Undo functionality.
Macros§
- impl_
screen_ cursor - Create the implementation of HasScreenCursor for the given list of struct members.
Structs§
- Grapheme
- One grapheme.
- Text
Position - Text position.
- Text
Range - Exclusive range for text ranges.
- Text
Style - Combined style for the widget.
Enums§
- Locale
- Locales matching the locales in
glibc. - Text
Error - Text
Focus Gained - This flag sets the behaviour of the widget when it detects that it gained focus.
- Text
Focus Lost - This flag sets the behaviour of the widget when it detects that it lost focus.
- TextTab
- This flag sets the behaviour of the widget when Tab/BackTab is pressed.
Traits§
- Cursor
- Trait for a cursor (akin to an Iterator, not the blinking thing).
- HasScreen
Cursor - Trait for accessing the screen-cursor.
Functions§
- screen_
cursor - Returns the screen_cursor for the first widget that returns one.