34 |
34 |
35 @param kwSet number of the keyword set (integer) |
35 @param kwSet number of the keyword set (integer) |
36 @return string giving the keywords (string) or None |
36 @return string giving the keywords (string) or None |
37 """ |
37 """ |
38 return QsciLexerMarkdown.keywords(self, kwSet) |
38 return QsciLexerMarkdown.keywords(self, kwSet) |
|
39 |
|
40 |
|
41 def createLexer(variant="", parent=None): |
|
42 """ |
|
43 Function to instantiate a lexer object. |
|
44 |
|
45 @param variant name of the language variant |
|
46 @type str |
|
47 @param parent parent widget of this lexer |
|
48 @type QObject |
|
49 @return instantiated lexer object |
|
50 @rtype LexerMarkdown |
|
51 """ |
|
52 return LexerMarkdown(parent=parent) |