summaryrefslogtreecommitdiff
path: root/helix-view/src/lib.rs
blob: 3e779356c0adac5de7b9b5c4de0fa191ae7639b4 (plain) (blame)
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
#[macro_use]
pub mod macros;

pub mod clipboard;
pub mod document;
pub mod editor;
pub mod graphics;
pub mod info;
pub mod input;
pub mod keyboard;
pub mod theme;
pub mod tree;
pub mod view;

#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default, Debug)]
pub struct DocumentId(usize);

slotmap::new_key_type! {
    pub struct ViewId;
}

pub use document::Document;
pub use editor::Editor;
pub use theme::Theme;
pub use view::View;