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 cohortguard;
6pub mod diagnostics;
7pub mod editmap;
8pub mod frontend_input;
9pub mod history;
10pub mod id;
11pub mod languages;
12pub mod layout;
13pub mod mutguard;
14pub mod path_serde;
15pub mod process;
16pub mod projectguard;
17mod range;
18pub mod searchguard;
19pub mod selection;
20pub mod theme;
21pub mod viewguard;
22pub mod worker;
23
24pub use buffer::{
25    Buffer, BufferSeed, Change, ChangeOrigin, EditError, HistoryMove, InputEdit,
26    PreparedReplacements, ReadonlyReason, Replacement, SavePlan, SaveReceipt, SaveRequest,
27    SystemEdit, UserEdit,
28};
29pub use range::{MotionShape, Range};
30
31#[cfg(test)]
32mod persistence_tests;