198 if tag != 'delete': |
198 if tag != 'delete': |
199 for line in b[j1:j2]: |
199 for line in b[j1:j2]: |
200 yield prefixmap[tag] + line |
200 yield prefixmap[tag] + line |
201 |
201 |
202 |
202 |
|
203 # TODO: add simple search functionality (s. LogViewer) |
203 class DiffDialog(QWidget, Ui_DiffDialog): |
204 class DiffDialog(QWidget, Ui_DiffDialog): |
204 """ |
205 """ |
205 Class implementing a dialog to compare two files. |
206 Class implementing a dialog to compare two files. |
206 """ |
207 """ |
207 def __init__(self, parent=None): |
208 def __init__(self, parent=None): |