src/eric7/QScintilla/Lexers/LexerYAML.py

branch
eric7
changeset 9484
d2eb8f0a5bf0
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
equal deleted inserted replaced
9483:1208b0ef8ccb 9484:d2eb8f0a5bf0
64 64
65 @param kwSet number of the keyword set (integer) 65 @param kwSet number of the keyword set (integer)
66 @return string giving the keywords (string) or None 66 @return string giving the keywords (string) or None
67 """ 67 """
68 return QsciLexerYAML.keywords(self, kwSet) 68 return QsciLexerYAML.keywords(self, kwSet)
69
70
71 def createLexer(variant="", parent=None):
72 """
73 Function to instantiate a lexer object.
74
75 @param variant name of the language variant
76 @type str
77 @param parent parent widget of this lexer
78 @type QObject
79 @return instantiated lexer object
80 @rtype LexerYAML
81 """
82 return LexerYAML(parent=parent)

eric ide

mercurial