pub fn extract_range_or_offset(text: &str) -> (RangeOrOffset, String)Expand description
Extracts TextRange or TextSize depending on the amount of $0 markers
found in text.
ยงPanics
Panics if no $0 marker is present in the text.
pub fn extract_range_or_offset(text: &str) -> (RangeOrOffset, String)Extracts TextRange or TextSize depending on the amount of $0 markers
found in text.
Panics if no $0 marker is present in the text.