(self)
| 256 | return self.matches[self.index] |
| 257 | |
| 258 | def previous(self) -> str: |
| 259 | if self.index <= 0: |
| 260 | self.index = len(self.matches) |
| 261 | self.index -= 1 |
| 262 | |
| 263 | return self.matches[self.index] |
| 264 | |
| 265 | def cur_line(self) -> tuple[int, str]: |
| 266 | """Returns a cursor offset and line with the current substitution |
no outgoing calls