QScintilla/Lexers/LexerContainer.py

branch
5_4_x
changeset 3464
20b92f08e98a
parent 3160
209a07d7e401
child 3515
1b8381afe38f
diff -r c8627d94e789 -r 20b92f08e98a QScintilla/Lexers/LexerContainer.py
--- a/QScintilla/Lexers/LexerContainer.py	Sun Mar 30 15:59:27 2014 +0200
+++ b/QScintilla/Lexers/LexerContainer.py	Tue Apr 01 19:37:13 2014 +0200
@@ -12,7 +12,7 @@
 from .Lexer import Lexer
 
 
-class LexerContainer(QsciLexer, Lexer):
+class LexerContainer(Lexer, QsciLexer):
     """
     Subclass as a base for the implementation of custom lexers.
     """
@@ -22,7 +22,7 @@
         
         @param parent parent widget of this lexer
         """
-        super().__init__(parent)
+        QsciLexer.__init__(self, parent)
         Lexer.__init__(self)
         
         self.editor = parent

eric ide

mercurial