66 |
66 |
67 @param kwSet number of the keyword set (integer) |
67 @param kwSet number of the keyword set (integer) |
68 @return string giving the keywords (string) or None |
68 @return string giving the keywords (string) or None |
69 """ |
69 """ |
70 return QsciLexerCMake.keywords(self, kwSet) |
70 return QsciLexerCMake.keywords(self, kwSet) |
|
71 |
|
72 |
|
73 def createLexer(variant="", parent=None): |
|
74 """ |
|
75 Function to instantiate a lexer object. |
|
76 |
|
77 @param variant name of the language variant |
|
78 @type str |
|
79 @param parent parent widget of this lexer |
|
80 @type QObject |
|
81 @return instantiated lexer object |
|
82 @rtype LexerCMake |
|
83 """ |
|
84 return LexerCMake(parent=parent) |