src/eric7/QScintilla/Lexers/Lexer.py

branch
eric7
changeset 11148
15e30f0c76a8
parent 11090
f5f5f5803935
equal deleted inserted replaced
11147:dee6e106b4d3 11148:15e30f0c76a8
190 @return list of separators 190 @return list of separators
191 @rtype list of str 191 @rtype list of str
192 """ 192 """
193 return [] 193 return []
194 194
195 def isCommentStyle(self, style): # noqa: U100 195 def isCommentStyle(self, style): # noqa: U-100
196 """ 196 """
197 Public method to check, if a style is a comment style. 197 Public method to check, if a style is a comment style.
198 198
199 @param style style to check (unused) 199 @param style style to check (unused)
200 @type int 200 @type int
201 @return flag indicating a comment style 201 @return flag indicating a comment style
202 @rtype bool 202 @rtype bool
203 """ 203 """
204 return True 204 return True
205 205
206 def isStringStyle(self, style): # noqa: U100 206 def isStringStyle(self, style): # noqa: U-100
207 """ 207 """
208 Public method to check, if a style is a string style. 208 Public method to check, if a style is a string style.
209 209
210 @param style style to check (unused) 210 @param style style to check (unused)
211 @type int 211 @type int
245 if kwSet > len(self.keywordSetDescriptions): 245 if kwSet > len(self.keywordSetDescriptions):
246 return "" 246 return ""
247 else: 247 else:
248 return self.keywordSetDescriptions[kwSet - 1] 248 return self.keywordSetDescriptions[kwSet - 1]
249 249
250 def defaultKeywords(self, kwSet): # noqa: U100 250 def defaultKeywords(self, kwSet): # noqa: U-100
251 """ 251 """
252 Public method to get the default keywords. 252 Public method to get the default keywords.
253 253
254 @param kwSet number of the keyword set (unused) 254 @param kwSet number of the keyword set (unused)
255 @type int 255 @type int
256 @return space separated list of keywords 256 @return space separated list of keywords
257 @rtype str or None 257 @rtype str or None
258 """ 258 """
259 return None # __IGNORE_WARNING_M831__ 259 return None # __IGNORE_WARNING_M-831__
260 260
261 def maximumKeywordSet(self): 261 def maximumKeywordSet(self):
262 """ 262 """
263 Public method to get the maximum keyword set. 263 Public method to get the maximum keyword set.
264 264

eric ide

mercurial