Skip to main content

trimmed_text_range

Function trimmed_text_range 

Source
pub(crate) fn trimmed_text_range(
    source_file: &SourceFile,
    initial_range: TextRange,
) -> TextRange
Expand description

Trim(remove leading and trailing whitespace) initial_range in source_file, return the trimmed range.