syntect/highlighting/
mod.rs

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
//! Everything having to do with turning parsed text into styled text.
//!
//! You might want to check out [`Theme`] for its handy text-editor related settings like selection
//! color, [`ThemeSet`] for loading themes, as well as things starting with `Highlight` for how to
//! highlight text.
//!
//! [`Theme`]: struct.Theme.html
//! [`ThemeSet`]: struct.ThemeSet.html
mod highlighter;
mod selector;
#[cfg(feature = "plist-load")]
pub(crate) mod settings;
mod style;
mod theme;
#[cfg(feature = "plist-load")]
mod theme_load;
mod theme_set;

pub use self::selector::*;
#[cfg(feature = "plist-load")]
pub use self::settings::SettingsError;
pub use self::style::*;
pub use self::theme::*;
#[cfg(feature = "plist-load")]
pub use self::theme_load::*;
pub use self::highlighter::*;
pub use self::theme_set::*;