//! Split implementation of the Ropey-backed `TextBuffer`.
//!
//! The goal of this submodule is to keep the `TextBuffer` implementation easy to
//! navigate and extend by separating it into focused files:
//! - `core.rs`: struct definition + basic constructors/accessors
//! - `lines.rs`: line indexing helpers
//! - `positions.rs`: (line, col) conversions and cursor movement
//! - `slicing.rs`: extracting text
//! - `editing.rs`: mutation operations (insert/delete/apply edits)
//! - `words.rs`: word motions
//!
//! `TextBuffer` remains a single public type re-exported by `buffer::mod.rs`.
//! All methods are inherent impls spread across these modules.
pub use TextBuffer;