QScintilla/Lexers/LexerPostScript.py

branch
Py2 comp.
changeset 3515
1b8381afe38f
parent 3178
f25fc1364c88
parent 3462
6d6e7334a787
child 3654
ffeb85cdc72d
equal deleted inserted replaced
3506:d85fadb263a0 3515:1b8381afe38f
13 13
14 from .Lexer import Lexer 14 from .Lexer import Lexer
15 import Preferences 15 import Preferences
16 16
17 17
18 class LexerPostScript(QsciLexerPostScript, Lexer): 18 class LexerPostScript(Lexer, QsciLexerPostScript):
19 """ 19 """
20 Subclass to implement some additional lexer dependant methods. 20 Subclass to implement some additional lexer dependant methods.
21 """ 21 """
22 def __init__(self, parent=None): 22 def __init__(self, parent=None):
23 """ 23 """
24 Constructor 24 Constructor
25 25
26 @param parent parent widget of this lexer 26 @param parent parent widget of this lexer
27 """ 27 """
28 super(LexerPostScript, self).__init__(parent) 28 QsciLexerPostScript.__init__(self, parent)
29 Lexer.__init__(self) 29 Lexer.__init__(self)
30 30
31 self.commentString = "%" 31 self.commentString = "%"
32 32
33 def initProperties(self): 33 def initProperties(self):

eric ide

mercurial