Skip to main content

split_across_lines

Function split_across_lines 

Source
fn split_across_lines(text: &str, spans: &[RawSpan]) -> Vec<LineToken>
Expand description

Split each raw span across line boundaries and compute UTF-16 column offsets. Produces line-local tokens, still in byte-order.