clankerdiff-syntax 0.1.2

Portable Arborium syntax highlighting
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Portable syntax highlighting APIs.
mod error;
mod highlight;
mod incremental;
mod language;

pub use clankerdiff_fingerprint::Fingerprint;
pub use clankerdiff_theme::{FontStyle, HighlightSpan, Rgba, SyntaxStyle, SyntaxTheme};
pub use error::SyntaxError;
pub use highlight::{
    CacheConfig, CacheKey, CacheUsage, DocumentHighlights, HighlightStats, SyntaxHighlighter,
    SyntaxStream, SyntaxStreamUpdate, ThemedHighlighter, empty_spans,
};
pub use incremental::SyntaxWorkStats;
pub use language::{LanguageHint, resolve_language};