(self, edit)
| 547 | |
| 548 | class ShowOriginalPartCommand(DiffCommand, sublime_plugin.TextCommand): |
| 549 | def run(self, edit): |
| 550 | diff_parser = DiffParser.instance |
| 551 | if not diff_parser: |
| 552 | return |
| 553 | |
| 554 | (row, col) = self.view.rowcol(self.view.sel()[0].begin()) |
| 555 | (lines, start, replace_lines) = diff_parser.get_original_part(row + 1) |
| 556 | if lines is not None: |
| 557 | self.panel(self.join_lines(lines)) |
| 558 | |
| 559 | |
| 560 | class ReplaceModifiedPartCommand(DiffCommand, sublime_plugin.TextCommand): |
nothing calls this directly
no test coverage detected