Skip to main content

strop_core/
lib.rs

1//! strop-core: the buffer. A rope, byte-offset positions, edit ops.
2//! No UI, no modes, no grammar — the thing everything else edits.
3
4mod buffer;
5pub mod diagnostics;
6pub mod editmap;
7pub mod history;
8pub mod id;
9pub mod layout;
10pub mod path_serde;
11pub mod process;
12mod range;
13pub mod selection;
14pub mod worker;
15
16pub use buffer::{
17    Buffer, BufferSeed, Change, ChangeOrigin, EditError, HistoryMove, InputEdit,
18    PreparedReplacements, Replacement, SaveReceipt, SaveRequest, SystemEdit, UserEdit,
19};
20pub use range::{MotionShape, Range};
21
22#[cfg(test)]
23mod persistence_tests;