src/eric7/QScintilla/Lexers/LexerPostScript.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10431
64157aeb0312
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
54 @param style style to check (integer) 54 @param style style to check (integer)
55 @return flag indicating a comment style (boolean) 55 @return flag indicating a comment style (boolean)
56 """ 56 """
57 return style in [QsciLexerPostScript.Comment] 57 return style in [QsciLexerPostScript.Comment]
58 58
59 def isStringStyle(self, style): 59 def isStringStyle(self, style): # noqa: U100
60 """ 60 """
61 Public method to check, if a style is a string style. 61 Public method to check, if a style is a string style.
62 62
63 @param style style to check (integer) 63 @param style style to check (integer)
64 @return flag indicating a string style (boolean) 64 @return flag indicating a string style (boolean)
81 @return maximum keyword set (integer) 81 @return maximum keyword set (integer)
82 """ 82 """
83 return 5 83 return 5
84 84
85 85
86 def createLexer(variant="", parent=None): 86 def createLexer(variant="", parent=None): # noqa: U100
87 """ 87 """
88 Function to instantiate a lexer object. 88 Function to instantiate a lexer object.
89 89
90 @param variant name of the language variant 90 @param variant name of the language variant
91 @type str 91 @type str

eric ide

mercurial