53 |
53 |
54 self.process = QProcess() |
54 self.process = QProcess() |
55 self.vcs = vcs |
55 self.vcs = vcs |
56 |
56 |
57 font = Preferences.getEditorOtherFonts("MonospacedFont") |
57 font = Preferences.getEditorOtherFonts("MonospacedFont") |
58 self.contents.setFontFamily(font.family()) |
58 self.contents.document().setDefaultFont(font) |
59 self.contents.setFontPointSize(font.pointSize()) |
|
60 |
59 |
61 self.highlighter = SvnDiffHighlighter(self.contents.document()) |
60 self.highlighter = SvnDiffHighlighter(self.contents.document()) |
62 |
61 |
63 self.process.finished.connect(self.__procFinished) |
62 self.process.finished.connect(self.__procFinished) |
64 self.process.readyReadStandardOutput.connect(self.__readStdout) |
63 self.process.readyReadStandardOutput.connect(self.__readStdout) |