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;
5mod autoclose;
6pub mod bookmarks;
7pub mod brackets;
8pub mod buffer;
9pub mod changeset;
10pub mod column_edit;
11pub mod diff;
12pub mod display;
13pub mod editor;
14pub mod filter;
15pub mod fold;
16pub mod history;
17pub mod indent;
18pub mod macros;
19mod multiselect;
20mod overtype;
21pub mod position;
22mod resolve;
23pub mod search;
24pub mod selection;
25mod smart_indent;
26pub mod tags;
27pub mod text;
28pub mod text_tools;
29pub mod transform;
30pub mod view;
31
32pub use action::{Action, ActionError, Direction, Motion};
33pub use bookmarks::Bookmarks;
34pub use buffer::{Buffer, BufferId, CommentSyntax, FileMeta, Indent, LineEdit, LineEnding};
35pub use changeset::{Bias, ChangeSet, Edit};
36pub use column_edit::{ColumnInsert, Leading, NumberFormat, NumberSequence};
37pub use display::{DisplayMap, Padding, RowPos};
38pub use editor::{Clock, Editor, ManualClock, Settings, SystemClock};
39pub use fold::{FoldSet, FoldStrategy};
40pub use history::{EditKind, SavedHistory, Transaction, sha256_hex};
41pub use macros::{MacroError, NamedMacro, Repeat};
42pub use position::{ByteOffset, CharIdx, LineCol, VisualCol};
43pub use resolve::word_at;
44pub use search::{SearchError, SearchOptions, SearchQuery, Searcher};
45pub use selection::{Rectangle, Selection, SelectionSet};
46pub use text::Document;
47pub use text_tools::Codec;
48pub use transform::{CaseMode, SortOptions};
49pub use view::{View, ViewId};