9 |
9 |
10 from PyQt4.Qsci import QsciLexer |
10 from PyQt4.Qsci import QsciLexer |
11 |
11 |
12 from .Lexer import Lexer |
12 from .Lexer import Lexer |
13 |
13 |
|
14 |
14 class LexerContainer(QsciLexer, Lexer): |
15 class LexerContainer(QsciLexer, Lexer): |
15 """ |
16 """ |
16 Subclass as a base for the implementation of custom lexers. |
17 Subclass as a base for the implementation of custom lexers. |
17 """ |
18 """ |
18 def __init__(self, parent = None): |
19 def __init__(self, parent=None): |
19 """ |
20 """ |
20 Constructor |
21 Constructor |
21 |
22 |
22 @param parent parent widget of this lexer |
23 @param parent parent widget of this lexer |
23 """ |
24 """ |