2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing a TCL/Tk lexer with some additional methods. | 7 Module implementing a TCL/Tk lexer with some additional methods. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 from PyQt4.Qsci import QsciLexerTCL | 12 from PyQt4.Qsci import QsciLexerTCL |
11 | 13 |
12 from .Lexer import Lexer | 14 from .Lexer import Lexer |
13 | 15 |
22 """ | 24 """ |
23 Constructor | 25 Constructor |
24 | 26 |
25 @param parent parent widget of this lexer | 27 @param parent parent widget of this lexer |
26 """ | 28 """ |
27 super().__init__(parent) | 29 super(LexerTCL, self).__init__(parent) |
28 Lexer.__init__(self) | 30 Lexer.__init__(self) |
29 | 31 |
30 self.commentString = "#" | 32 self.commentString = "#" |
31 | 33 |
32 def initProperties(self): | 34 def initProperties(self): |