src/eric7/QScintilla/Lexers/LexerDiff.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10431
64157aeb0312
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
35 @param style style to check (integer) 35 @param style style to check (integer)
36 @return flag indicating a comment style (boolean) 36 @return flag indicating a comment style (boolean)
37 """ 37 """
38 return style in [LexerDiff.Comment] 38 return style in [LexerDiff.Comment]
39 39
40 def isStringStyle(self, style): 40 def isStringStyle(self, style): # noqa: U100
41 """ 41 """
42 Public method to check, if a style is a string style. 42 Public method to check, if a style is a string style.
43 43
44 @param style style to check (integer) 44 @param style style to check (integer)
45 @return flag indicating a string style (boolean) 45 @return flag indicating a string style (boolean)
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 57
58 58
59 def createLexer(variant="", parent=None): 59 def createLexer(variant="", parent=None): # noqa: U100
60 """ 60 """
61 Function to instantiate a lexer object. 61 Function to instantiate a lexer object.
62 62
63 @param variant name of the language variant 63 @param variant name of the language variant
64 @type str 64 @type str

eric ide

mercurial