freya-code-editor 0.4.0-rc.21

Composable Code Editor APIs for Freya
pub mod constants;
pub mod editor_data;
pub mod editor_line;
pub mod editor_theme;
pub mod editor_ui;
pub mod languages;
pub mod metrics;
pub mod syntax;

pub mod prelude {
    pub use ropey::Rope;

    pub use crate::{
        constants::{
            BASE_FONT_SIZE,
            MAX_FONT_SIZE,
        },
        editor_data::CodeEditorData,
        editor_line::EditorLineUI,
        editor_theme::{
            DEFAULT_EDITOR_THEME,
            DEFAULT_SYNTAX_THEME,
            EditorTheme,
            SyntaxTheme,
        },
        editor_ui::CodeEditor,
        languages::LanguageId,
        metrics::EditorMetrics,
        syntax::{
            InputEditExt,
            RopeChunkIter,
            RopeTextProvider,
            SyntaxBlocks,
            SyntaxHighlighter,
            SyntaxLine,
            TextNode,
        },
    };
}