typ-buffer 0.2.1

Rope-backed text buffer with selections, multi-cursor, undo and search, for the TYPE terminal IDE
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod buffer;
pub mod change;
pub mod position;
pub mod search;
pub mod selection;
pub mod undo;
pub mod word;

pub use buffer::TextBuffer;
pub use change::Shift;
pub use position::{
    Position, display_to_grapheme_col, display_width, display_width_with_tabs,
    grapheme_to_display_col,
};
pub use search::{SearchQuery, find_in_line};
pub use selection::{Selection, Selections};
pub use undo::EditKind;
pub use word::{next_word_boundary, previous_word_boundary, word_at};