Skip to main content

continuity_text/
lib.rs

1#![warn(missing_docs)]
2//! Text primitives: positions, ranges, selections, and edit operations
3//! over a `ropey::Rope`.
4//!
5//! Foundation layer. No internal workspace dependencies.
6
7pub mod bidi;
8pub mod edit;
9pub mod error;
10pub mod position;
11pub mod range;
12pub mod rope_edit_delta;
13pub mod select;
14pub mod selection;
15
16pub use bidi::{level_at, paragraph_direction, ParagraphDirection};
17pub use edit::EditOp;
18pub use error::Error;
19pub use position::Position;
20pub use range::Range;
21pub use rope_edit_delta::{
22    transform_byte_through, transform_container_range_through,
23    transform_container_range_through_chain, transform_range_through,
24    transform_range_through_chain, RopeEditDelta,
25};
26pub use selection::{Selection, SelectionKind};