Skip to main content

diff_line

Function diff_line 

Source
pub fn diff_line(
    gutter: &str,
    text: &str,
    language: &str,
    tone: DiffTone,
    theme: &Theme,
    highlighter: &mut SyntaxHighlighter,
) -> DiffLine
Expand description

Renders gutter (line numbers and any change marker) followed by the syntax-highlighted source, tinted for tone.