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