Normalized representation of a single line edit.
| 528 | |
| 529 | @dataclass(frozen=True) |
| 530 | class TextEdit: |
| 531 | """Normalized representation of a single line edit.""" |
| 532 | |
| 533 | start_line: int |
| 534 | end_line: int |
| 535 | replacement_lines: List[str] |
| 536 | |
| 537 | |
| 538 | def apply_text_edits( |