QScintilla/Lexers/LexerDiff.py

branch
Py2 comp.
changeset 3515
1b8381afe38f
parent 3178
f25fc1364c88
parent 3462
6d6e7334a787
child 3656
441956d8fce5
equal deleted inserted replaced
3506:d85fadb263a0 3515:1b8381afe38f
12 from PyQt4.Qsci import QsciLexerDiff 12 from PyQt4.Qsci import QsciLexerDiff
13 13
14 from .Lexer import Lexer 14 from .Lexer import Lexer
15 15
16 16
17 class LexerDiff(QsciLexerDiff, Lexer): 17 class LexerDiff(Lexer, QsciLexerDiff):
18 """ 18 """
19 Subclass to implement some additional lexer dependant methods. 19 Subclass to implement some additional lexer dependant methods.
20 """ 20 """
21 def __init__(self, parent=None): 21 def __init__(self, parent=None):
22 """ 22 """
23 Constructor 23 Constructor
24 24
25 @param parent parent widget of this lexer 25 @param parent parent widget of this lexer
26 """ 26 """
27 super(LexerDiff, self).__init__(parent) 27 QsciLexerDiff.__init__(self, parent)
28 Lexer.__init__(self) 28 Lexer.__init__(self)
29 29
30 def isCommentStyle(self, style): 30 def isCommentStyle(self, style):
31 """ 31 """
32 Public method to check, if a style is a comment style. 32 Public method to check, if a style is a comment style.

eric ide

mercurial