(&self, offset: TextSize)
| 20 | } |
| 21 | |
| 22 | pub fn source_location(&self, offset: TextSize) -> SourceLocation { |
| 23 | self.index |
| 24 | .source_location(offset, self.text, PositionEncoding::Utf8) |
| 25 | } |
| 26 | |
| 27 | pub fn get_range(&'src self, range: TextRange) -> &'src str { |
| 28 | &self.text[range.start().to_usize()..range.end().to_usize()] |
no outgoing calls
no test coverage detected