Skip to main content

check_width_001

Function check_width_001 

Source
pub fn check_width_001(
    file: &str,
    parsed: &ParsedTex,
    code_width: u32,
) -> Vec<Violation>
Expand description

JSS-WIDTH-001 — code lines inside code-display environments (Sinput/Soutput/CodeInput/CodeOutput/verbatim/Verbatim/Code/Scode) must fit within code_width columns. column on the returned violation is deliberately the offending length, not a real column — matches code_width.py::_violation’s documented quirk (width violations are line-anchored, not position-anchored).