QScintilla/Lexers/LexerSQL.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 SQL lexer with some additional methods. 7 Module implementing a SQL lexer with some additional methods.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.Qsci import QsciLexerSQL 12 from PyQt4.Qsci import QsciLexerSQL
11 13
12 from .Lexer import Lexer 14 from .Lexer import Lexer
13 import Preferences 15 import Preferences
21 """ 23 """
22 Constructor 24 Constructor
23 25
24 @param parent parent widget of this lexer 26 @param parent parent widget of this lexer
25 """ 27 """
26 super().__init__(parent) 28 super(LexerSQL, self).__init__(parent)
27 Lexer.__init__(self) 29 Lexer.__init__(self)
28 30
29 self.commentString = "--" 31 self.commentString = "--"
30 32
31 def initProperties(self): 33 def initProperties(self):

eric ide

mercurial