src/eric7/QScintilla/Lexers/LexerTeX.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10431
64157aeb0312
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
51 self.setFoldCompact(Preferences.getEditor("AllFoldCompact")) 51 self.setFoldCompact(Preferences.getEditor("AllFoldCompact"))
52 self.setFoldComments(Preferences.getEditor("TexFoldComment")) 52 self.setFoldComments(Preferences.getEditor("TexFoldComment"))
53 self.setProcessComments(Preferences.getEditor("TexProcessComments")) 53 self.setProcessComments(Preferences.getEditor("TexProcessComments"))
54 self.setProcessIf(Preferences.getEditor("TexProcessIf")) 54 self.setProcessIf(Preferences.getEditor("TexProcessIf"))
55 55
56 def isCommentStyle(self, style): 56 def isCommentStyle(self, style): # noqa: U100
57 """ 57 """
58 Public method to check, if a style is a comment style. 58 Public method to check, if a style is a comment style.
59 59
60 @param style style to check (integer) 60 @param style style to check (integer)
61 @return flag indicating a comment style (boolean) 61 @return flag indicating a comment style (boolean)
213 return texKeywords + " " + etexKeywords + " " + pdftexKeywords 213 return texKeywords + " " + etexKeywords + " " + pdftexKeywords
214 214
215 return None 215 return None
216 216
217 217
218 def createLexer(variant="", parent=None): 218 def createLexer(variant="", parent=None): # noqa: U100
219 """ 219 """
220 Function to instantiate a lexer object. 220 Function to instantiate a lexer object.
221 221
222 @param variant name of the language variant 222 @param variant name of the language variant
223 @type str 223 @type str

eric ide

mercurial