1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! `escriba-core` — foundational types.
//!
//! No I/O. No rendering. No tatara-lisp. Just the typed vocabulary every
//! other escriba crate speaks:
//!
//! - [`Position`] — line + column, 0-indexed, UTF-8 char offsets.
//! - [`Range`] — half-open `[start, end)`.
//! - [`Cursor`] — anchor + head (for selection growth).
//! - [`Selection`] — multi-cursor ordered set.
//! - [`Mode`] — the vim-ish modal state.
//! - [`Motion`] / [`Operator`] — compose into commands.
//! - [`Edit`] — primitive mutation.
//! - [`Action`] — top-level dispatched-to-buffer command.
//! - [`BufferId`] / [`WindowId`] — opaque identifiers.
//!
//! Every type derives `schemars::JsonSchema` so escriba-api can emit an
//! OpenAPI spec over the full domain surface — the editor's entire public
//! shape is spec-first by construction.
extern crate self as escriba_core;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use Position;
pub use Range;
pub use ;