pub fn tokens_to_classed_spans(
    line: &str,
    ops: &[(usize, ScopeStackOp)],
    style: ClassStyle,
) -> (String, isize)👎Deprecated since 4.6.0: Use 
line_tokens_to_classed_spans instead, this can panic and highlight incorrectlyExpand description
Preserved for compatibility, always use line_tokens_to_classed_spans
and keep a ScopeStack between lines for correct highlighting that won’t
sometimes crash.