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