FileRange
Inherits from Range, functionally identical but has a few edited methods.
Functions
clone
lua
FileRange:clone() → FileRange -- A new file range with the same start and end as this one
trim
lua
FileRange:trim() → FileRange -- Returns the exact same range.
No functionality for CodeSpan, only for the output; when outputting this CodeSpan, the range will be trimmed to first character it finds, removing whitespace.
This is especially useful when you're printing a set of lines and want to not show the indentation at the start of the line.