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) |