1pub mod constants;
2pub mod editor_data;
3pub mod editor_line;
4pub mod editor_theme;
5pub mod editor_ui;
6pub mod languages;
7pub mod metrics;
8pub mod syntax;
9
10pub use tree_sitter;
11
12pub mod prelude {
13 pub use ropey::Rope;
14
15 pub use crate::{
16 constants::{
17 BASE_FONT_SIZE,
18 MAX_FONT_SIZE,
19 },
20 editor_data::CodeEditorData,
21 editor_line::EditorLineUI,
22 editor_theme::{
23 CodeEditorThemeExt,
24 EditorSyntaxTheme,
25 EditorTheme,
26 EditorThemePartial,
27 EditorThemePartialExt,
28 EditorThemePreference,
29 },
30 editor_ui::CodeEditor,
31 languages::EditorLanguage,
32 metrics::EditorMetrics,
33 syntax::{
34 InputEditExt,
35 RopeChunkIter,
36 RopeTextProvider,
37 SyntaxBlocks,
38 SyntaxHighlighter,
39 SyntaxLine,
40 TextNode,
41 },
42 };
43}