Skip to main content

ochrepad_core/
lib.rs

1//! Headless editing core: text, positions, selections, actions, transactions
2//! and undo. No egui and no filesystem access (PLAN 3.1, 7).
3
4pub mod action;
5pub mod buffer;
6pub mod changeset;
7pub mod diff;
8pub mod editor;
9pub mod history;
10pub mod macros;
11pub mod position;
12mod resolve;
13pub mod search;
14pub mod selection;
15pub mod text;
16pub mod transform;
17pub mod view;
18
19pub use action::{Action, ActionError, Direction, Motion};
20pub use buffer::{Buffer, BufferId, FileMeta, LineEdit, LineEnding};
21pub use changeset::{Bias, ChangeSet, Edit};
22pub use editor::{Clock, Editor, ManualClock, Settings, SystemClock};
23pub use history::{EditKind, Transaction};
24pub use macros::{MacroError, NamedMacro, Repeat};
25pub use position::{ByteOffset, CharIdx, LineCol, VisualCol};
26pub use search::{SearchError, SearchOptions, SearchQuery, Searcher};
27pub use selection::{Rectangle, Selection, SelectionSet};
28pub use text::Document;
29pub use transform::{CaseMode, SortOptions};
30pub use view::{DisplayMap, IdentityDisplayMap, View, ViewId};