pub fn get_source_context<'a>(
lines: impl Iterator<Item = &'a str>,
start_line: u32,
start_column: u32,
end_line: u32,
end_column: u32,
) -> SourceContextLines<'a>
Expand description
Compute the source context for a given range of lines, including selected ranges in these lines. (Lines are 0-indexed)