QScintilla/Shell.py

branch
5_2_x
changeset 1565
815eb7a39944
parent 1518
e6e21910210d
child 1589
9f0fef4a4fbe
--- a/QScintilla/Shell.py	Fri Jan 20 18:54:06 2012 +0100
+++ b/QScintilla/Shell.py	Sat Jan 21 14:49:00 2012 +0100
@@ -258,6 +258,9 @@
             if api is not None:
                 self.lexer_.setAPIs(api)
         
+        self.lexer_.setDefaultColor(self.lexer_.color(0))
+        self.lexer_.setDefaultPaper(self.lexer_.paper(0))
+        
     def __setMargin0(self):
         """
         Private method to configure margin 0.

eric ide

mercurial