freya_code_editor/
lib.rs

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 mod prelude {
11    pub use ropey::Rope;
12
13    pub use crate::{
14        constants::{
15            BASE_FONT_SIZE,
16            MAX_FONT_SIZE,
17        },
18        editor_data::CodeEditorData,
19        editor_line::EditorLineUI,
20        editor_theme::{
21            DEFAULT_EDITOR_THEME,
22            DEFAULT_SYNTAX_THEME,
23            EditorTheme,
24            SyntaxTheme,
25        },
26        editor_ui::CodeEditor,
27        languages::LanguageId,
28        metrics::EditorMetrics,
29        syntax::{
30            InputEditExt,
31            RopeChunkIter,
32            RopeTextProvider,
33            SyntaxBlocks,
34            SyntaxHighlighter,
35            SyntaxLine,
36            TextNode,
37        },
38    };
39}