pub fn record_spans(area: Rect, line: &Line<'_>, spans: Vec<(usize, Hit)>)Expand description
Record a line’s spans that a click picks among: each (span, hit) names a span of
line, drawn left-aligned from area.x on area.y. Their places are summed from
the spans drawn, so they agree with the line on screen.