(&self, cursor: usize)
| 125 | /// Computes the position of the cursor considering the offset. |
| 126 | #[inline] |
| 127 | fn compute_position(&self, cursor: usize) -> TextSize { |
| 128 | self.offset + TextSize::try_from(cursor).unwrap() |
| 129 | } |
| 130 | |
| 131 | /// Returns the next byte in the string, if there is one. |
| 132 | /// |
no outgoing calls
no test coverage detected