#![allow(dead_code, clippy::all)]
pub mod chars;
pub mod doc_formatter;
pub mod graphemes;
pub mod history;
pub mod line_ending;
pub mod movement;
pub mod position;
pub mod selection;
pub mod text_annotations;
pub mod transaction;
#[cfg(test)]
pub mod test;
pub mod stdx {
pub mod range;
pub mod rope;
pub use range::Range;
}
pub mod syntax {
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct Highlight(pub u32);
}
pub use ropey::{self, str_utils, Rope, RopeBuilder, RopeSlice};
pub use smallvec::{smallvec, SmallVec};
pub use smartstring::SmartString;
pub type Tendril = SmartString<smartstring::LazyCompact>;
pub use position::{
char_idx_at_visual_offset, coords_at_pos, pos_at_coords, softwrapped_dimensions,
visual_offset_from_anchor, visual_offset_from_block, Position, VisualOffsetError,
};
#[allow(deprecated)]
pub use position::{pos_at_visual_coords, visual_coords_at_pos};
pub use line_ending::{LineEnding, NATIVE_LINE_ENDING};
pub use selection::{Range, Selection};
pub use transaction::{Assoc, Change, ChangeSet, Deletion, Operation, Transaction};