Better API for highlighting lines

This commit is contained in:
sharkdp authored and David Peter committed 2020-04-22 23:55:28 +02:00
1 parent 13e6b3fac7
commit ec0ce05455
4 files changed
+31 -11

No files matched your search

+2 -2
View File
@@ -19,7 +19,7 @@ mod diff;
pub mod errors;
pub mod input;
mod less;
pub(crate) mod line_range;
pub mod line_range;
mod output;
mod preprocessor;
mod pretty_printer;
@@ -29,7 +29,7 @@ pub(crate) mod syntax_mapping;
mod terminal;
pub(crate) mod wrap;
pub use line_range::{HighlightedLineRanges, LineRange, LineRanges};
pub use line_range::LineRange;
pub use pretty_printer::PrettyPrinter;
pub use style::{StyleComponent, StyleComponents};
pub use syntax_mapping::{MappingTarget, SyntaxMapping};