261 Preferences.getSystem("IOEncoding"), |
261 Preferences.getSystem("IOEncoding"), |
262 'replace') |
262 'replace') |
263 if self.summaryPath: |
263 if self.summaryPath: |
264 line = line.replace(self.summaryPath + '/', '') |
264 line = line.replace(self.summaryPath + '/', '') |
265 line = " ".join(line.split()) |
265 line = " ".join(line.split()) |
266 if line.startswith("---") or \ |
266 if line.startswith("--- ") or \ |
267 line.startswith("+++"): |
267 line.startswith("+++ "): |
268 self.__processFileLine(line) |
268 self.__processFileLine(line) |
269 |
269 |
270 if line.startswith('+') or line.startswith('>') or line.startswith('A '): |
270 if line.startswith('+') or line.startswith('>') or line.startswith('A '): |
271 format = self.cAddedFormat |
271 format = self.cAddedFormat |
272 elif line.startswith('-') or line.startswith('<') or line.startswith('D '): |
272 elif line.startswith('-') or line.startswith('<') or line.startswith('D '): |