UI/DiffDialog.py

branch
Py2 comp.
changeset 2677
3d4277929fb3
parent 2525
8b507a9a2d40
parent 2580
7403bc14ea26
child 3057
10516539f238
--- a/UI/DiffDialog.py	Fri May 24 18:39:58 2013 +0200
+++ b/UI/DiffDialog.py	Tue May 28 20:52:12 2013 +0200
@@ -226,10 +226,9 @@
         
         self.updateInterval = 20    # update every 20 lines
         
-        if Utilities.isWindowsPlatform():
-            self.contents.setFontFamily("Lucida Console")
-        else:
-            self.contents.setFontFamily("Monospace")
+        font = Preferences.getEditorOtherFonts("MonospacedFont")
+        self.contents.setFontFamily(font.family())
+        self.contents.setFontPointSize(font.pointSize())
         
         self.cNormalFormat = self.contents.currentCharFormat()
         self.cAddedFormat = self.contents.currentCharFormat()

eric ide

mercurial