src/eric7/QScintilla/Lexers/LexerPostScript.py

branch
eric7
changeset 10683
779cda568acb
parent 10439
21c28b0f9e41
child 10692
9becf9ca115c
equal deleted inserted replaced
10682:47be220abdaf 10683:779cda568acb
57 @return flag indicating a comment style 57 @return flag indicating a comment style
58 @rtype bool 58 @rtype bool
59 """ 59 """
60 return style in [QsciLexerPostScript.Comment] 60 return style in [QsciLexerPostScript.Comment]
61 61
62 def isStringStyle(self, style): # noqa: U100 62 def isStringStyle(self, _style):
63 """ 63 """
64 Public method to check, if a style is a string style. 64 Public method to check, if a style is a string style.
65 65
66 @param style style to check 66 @param _style style to check (unused)
67 @type int 67 @type int
68 @return flag indicating a string style 68 @return flag indicating a string style
69 @rtype bool 69 @rtype bool
70 """ 70 """
71 return False 71 return False
93 93
94 def createLexer(variant="", parent=None): # noqa: U100 94 def createLexer(variant="", parent=None): # noqa: U100
95 """ 95 """
96 Function to instantiate a lexer object. 96 Function to instantiate a lexer object.
97 97
98 @param variant name of the language variant 98 @param variant name of the language variant (unused)
99 @type str 99 @type str
100 @param parent parent widget of this lexer 100 @param parent parent widget of this lexer
101 @type QObject 101 @type QObject
102 @return instantiated lexer object 102 @return instantiated lexer object
103 @rtype LexerPostScript 103 @rtype LexerPostScript

eric ide

mercurial