src/eric7/QScintilla/Lexers/LexerProperties.py

branch
eric7
changeset 10683
779cda568acb
parent 10439
21c28b0f9e41
child 10692
9becf9ca115c
equal deleted inserted replaced
10682:47be220abdaf 10683:779cda568acb
52 @return flag indicating a comment style 52 @return flag indicating a comment style
53 @rtype bool 53 @rtype bool
54 """ 54 """
55 return style in [QsciLexerProperties.Comment] 55 return style in [QsciLexerProperties.Comment]
56 56
57 def isStringStyle(self, style): # noqa: U100 57 def isStringStyle(self, _style):
58 """ 58 """
59 Public method to check, if a style is a string style. 59 Public method to check, if a style is a string style.
60 60
61 @param style style to check 61 @param _style style to check (unused)
62 @type int 62 @type int
63 @return flag indicating a string style 63 @return flag indicating a string style
64 @rtype bool 64 @rtype bool
65 """ 65 """
66 return False 66 return False
79 79
80 def createLexer(variant="", parent=None): # noqa: U100 80 def createLexer(variant="", parent=None): # noqa: U100
81 """ 81 """
82 Function to instantiate a lexer object. 82 Function to instantiate a lexer object.
83 83
84 @param variant name of the language variant 84 @param variant name of the language variant (unused)
85 @type str 85 @type str
86 @param parent parent widget of this lexer 86 @param parent parent widget of this lexer
87 @type QObject 87 @type QObject
88 @return instantiated lexer object 88 @return instantiated lexer object
89 @rtype LexerProperties 89 @rtype LexerProperties

eric ide

mercurial