(self, cursor_offset: int, line: str)
| 296 | super().__init__(True, mode) |
| 297 | |
| 298 | def locate(self, cursor_offset: int, line: str) -> LinePart | None: |
| 299 | for completer in self._completers: |
| 300 | return_value = completer.locate(cursor_offset, line) |
| 301 | if return_value is not None: |
| 302 | return return_value |
| 303 | return None |
| 304 | |
| 305 | def format(self, word: str) -> str: |
| 306 | return self._completers[0].format(word) |