57 |
57 |
58 @param kwSet number of the keyword set (integer) |
58 @param kwSet number of the keyword set (integer) |
59 @return string giving the keywords (string) or None |
59 @return string giving the keywords (string) or None |
60 """ |
60 """ |
61 return QsciLexerBatch.keywords(self, kwSet) |
61 return QsciLexerBatch.keywords(self, kwSet) |
|
62 |
|
63 |
|
64 def createLexer(variant="", parent=None): |
|
65 """ |
|
66 Function to instantiate a lexer object. |
|
67 |
|
68 @param variant name of the language variant |
|
69 @type str |
|
70 @param parent parent widget of this lexer |
|
71 @type QObject |
|
72 @return instantiated lexer object |
|
73 @rtype LexerBatch |
|
74 """ |
|
75 return LexerBatch(parent=parent) |