Expand description
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/accessorslines.rs: line indexing helperspositions.rs: (line, col) conversions and cursor movementslicing.rs: extracting textediting.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.
Structsยง
- Text
Buffer - A Ropey-backed text buffer.
- Visual
Selection Edit Plan - A precomputed plan for visual selection operations.