src/eric7/QScintilla/Lexers/LexerBatch.py

branch
eric7
changeset 9484
d2eb8f0a5bf0
parent 9221
bf71ee032bb4
child 9653
e67609152c5e
equal deleted inserted replaced
9483:1208b0ef8ccb 9484:d2eb8f0a5bf0
57 57
58 @param kwSet number of the keyword set (integer) 58 @param kwSet number of the keyword set (integer)
59 @return string giving the keywords (string) or None 59 @return string giving the keywords (string) or None
60 """ 60 """
61 return QsciLexerBatch.keywords(self, kwSet) 61 return QsciLexerBatch.keywords(self, kwSet)
62
63
64 def createLexer(variant="", parent=None):
65 """
66 Function to instantiate a lexer object.
67
68 @param variant name of the language variant
69 @type str
70 @param parent parent widget of this lexer
71 @type QObject
72 @return instantiated lexer object
73 @rtype LexerBatch
74 """
75 return LexerBatch(parent=parent)

eric ide

mercurial