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 history;
7pub mod id;
8pub mod layout;
9pub mod path_serde;
10pub mod process;
11mod range;
12pub mod selection;
13pub mod worker;
14
15pub use buffer::{
16 Buffer, BufferSeed, Change, ChangeOrigin, EditError, HistoryMove, InputEdit,
17 PreparedReplacements, Replacement, SaveReceipt, SaveRequest, SystemEdit, UserEdit,
18};
19pub use range::{MotionShape, Range};
20
21#[cfg(test)]
22mod persistence_tests;