Skip to main content

Crate escriba_buffer

Crate escriba_buffer 

Source
Expand description

escriba-buffer — rope-backed text buffer.

One Buffer owns a ropey Rope, knows its file path, detected line ending, encoding, and a simple undo tree. Exposes position↔char conversion (UTF-8 safe) and primitive escriba_core::Edit application.

Re-exports§

pub use buffer::Buffer;
pub use buffer::BufferSet;
pub use buffer::BufferSummary;
pub use encoding::Encoding;
pub use error::BufferError;
pub use line_ending::LineEnding;
pub use undo::UndoEntry;
pub use undo::UndoTree;

Modules§

buffer
encoding
error
line_ending
undo
Minimal undo tree — linear stack for phase 1; branching in phase 2.