Fixed a compatibility issue with QsciScintilla 2.4.5 and newer.

Fri, 03 Sep 2010 18:53:24 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 03 Sep 2010 18:53:24 +0200
changeset 551
e1074b63ff08
parent 550
22b951013193
child 553
5af61623ae3c

Fixed a compatibility issue with QsciScintilla 2.4.5 and newer.

QScintilla/QsciScintillaCompat.py file | annotate | diff | comparison | revisions
diff -r 22b951013193 -r e1074b63ff08 QScintilla/QsciScintillaCompat.py
--- a/QScintilla/QsciScintillaCompat.py	Fri Sep 03 13:48:52 2010 +0200
+++ b/QScintilla/QsciScintillaCompat.py	Fri Sep 03 18:53:24 2010 +0200
@@ -100,7 +100,7 @@
         except AttributeError:
             rangeHigh = list(range(40, 128))
         
-        f = font.family()
+        f = font.family().encode()
         ps = font.pointSize()
         for style in rangeLow + rangeHigh:
             self.SendScintilla(QsciScintilla.SCI_STYLESETFONT, style, f)

eric ide

mercurial