src/eric7/QScintilla/Lexers/LexerJSON.py

branch
eric7
changeset 9484
d2eb8f0a5bf0
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
equal deleted inserted replaced
9483:1208b0ef8ccb 9484:d2eb8f0a5bf0
78 Public method to get the maximum keyword set. 78 Public method to get the maximum keyword set.
79 79
80 @return maximum keyword set (integer) 80 @return maximum keyword set (integer)
81 """ 81 """
82 return 2 82 return 2
83
84
85 def createLexer(variant="", parent=None):
86 """
87 Function to instantiate a lexer object.
88
89 @param variant name of the language variant
90 @type str
91 @param parent parent widget of this lexer
92 @type QObject
93 @return instantiated lexer object
94 @rtype LexerJSON
95 """
96 return LexerJSON(parent=parent)

eric ide

mercurial