(&self, cursor: usize)
| 79 | /// Computes the position of the cursor considering the offset. |
| 80 | #[inline] |
| 81 | fn compute_position(&self, cursor: usize) -> TextSize { |
| 82 | self.offset + TextSize::try_from(cursor).unwrap() |
| 83 | } |
| 84 | |
| 85 | /// Returns the next byte in the string, if there is one. |
| 86 | /// |
no outgoing calls
no test coverage detected