fn compute_line_spans(lc: &LineContents<'_>) -> Vec<(usize, usize)>
Compute the start and end columns of the highlight for each line