QScintilla/MiniEditor.py

branch
5_2_x
changeset 1565
815eb7a39944
parent 1509
c0b5e693b0eb
child 2303
0ed4ed026c16
--- a/QScintilla/MiniEditor.py	Fri Jan 20 18:54:06 2012 +0100
+++ b/QScintilla/MiniEditor.py	Sat Jan 21 14:49:00 2012 +0100
@@ -2519,6 +2519,9 @@
         # now set the lexer properties
         self.lexer_.initProperties()
         
+        self.lexer_.setDefaultColor(self.lexer_.color(0))
+        self.lexer_.setDefaultPaper(self.lexer_.paper(0))
+        
     def __isPy2File(self):
         """
         Private method to return a flag indicating a Python 2 file.

eric ide

mercurial