euporie.core.format.range_to_slice

euporie.core.format.range_to_slice(start_line: int, start_char: int, end_line: int, end_char: int, text: str) slice

Convert a line/character ranger to a slice.