79 Public method to get the maximum keyword set. |
79 Public method to get the maximum keyword set. |
80 |
80 |
81 @return maximum keyword set (integer) |
81 @return maximum keyword set (integer) |
82 """ |
82 """ |
83 return 5 |
83 return 5 |
|
84 |
|
85 |
|
86 def createLexer(variant="", parent=None): |
|
87 """ |
|
88 Function to instantiate a lexer object. |
|
89 |
|
90 @param variant name of the language variant |
|
91 @type str |
|
92 @param parent parent widget of this lexer |
|
93 @type QObject |
|
94 @return instantiated lexer object |
|
95 @rtype LexerPostScript |
|
96 """ |
|
97 return LexerPostScript(parent=parent) |