src/eric7/QScintilla/Lexers/LexerDiff.py

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

eric ide

mercurial