src/eric7/QScintilla/Lexers/LexerJavaScript.py

branch
eric7
changeset 9484
d2eb8f0a5bf0
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
equal deleted inserted replaced
9483:1208b0ef8ccb 9484:d2eb8f0a5bf0
98 Public method to get the maximum keyword set. 98 Public method to get the maximum keyword set.
99 99
100 @return maximum keyword set (integer) 100 @return maximum keyword set (integer)
101 """ 101 """
102 return 4 102 return 4
103
104
105 def createLexer(variant="", parent=None):
106 """
107 Function to instantiate a lexer object.
108
109 @param variant name of the language variant
110 @type str
111 @param parent parent widget of this lexer
112 @type QObject
113 @return instantiated lexer object
114 @rtype LexerJavaScript
115 """
116 return LexerJavaScript(parent=parent)

eric ide

mercurial