QScintilla/Lexers/LexerMatlab.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a Matlab lexer with some additional methods. 7 Module implementing a Matlab lexer with some additional methods.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.Qsci import QsciLexerMatlab 12 from PyQt4.Qsci import QsciLexerMatlab
11 13
12 from .Lexer import Lexer 14 from .Lexer import Lexer
13 15
20 """ 22 """
21 Constructor 23 Constructor
22 24
23 @param parent parent widget of this lexer 25 @param parent parent widget of this lexer
24 """ 26 """
25 super().__init__(parent) 27 super(LexerMatlab, self).__init__(parent)
26 Lexer.__init__(self) 28 Lexer.__init__(self)
27 29
28 self.commentString = "%~" 30 self.commentString = "%~"
29 31
30 def isCommentStyle(self, style): 32 def isCommentStyle(self, style):

eric ide

mercurial