Expand description
The primary Widget of Duat, used to display buffers.
Most extensible features of Duat have the primary purpose of
serving the Buffer, such as multiple Cursors, a
History system, RawArea::PrintInfo, etc.
The Buffer also provides a list of printed lines through the
Handle::printed_lines method. This method is notably used by
the LineNumbers widget, that shows the numbers of the
currently printed lines.
Structs§
- Buffer
- The widget that is used to print and edit buffers.
- Buffer
Id - A unique identifier for a
Buffer. - Buffer
Opts - The default suite of options available to
Buffers - Change
- A change in a buffer, with a start, taken text, and added text.
- History
- The history of edits, contains all moments.
- Moment
- A moment in history, which may contain changes, or may just contain selections.
- PerBuffer
- A struct to associate one
Tto eachBuffer. - Ranges
ToUpdate - A list of
Range<usize>s of byte indices in aBufferthat need to be updated.
Enums§
- Path
Kind - Represents the presence or absence of a path.