[−][src]Function polar_core::formatting::source_lines
pub fn source_lines(source: &Source, offset: usize, num_lines: usize) -> String
Traverse a Source
line by line until offset
is reached,
and return the source line containing the offset
character as well as num_lines
lines
above and below it.