54 @param style style to check (integer) |
54 @param style style to check (integer) |
55 @return flag indicating a comment style (boolean) |
55 @return flag indicating a comment style (boolean) |
56 """ |
56 """ |
57 return style in [QsciLexerPostScript.Comment] |
57 return style in [QsciLexerPostScript.Comment] |
58 |
58 |
59 def isStringStyle(self, style): |
59 def isStringStyle(self, style): # noqa: U100 |
60 """ |
60 """ |
61 Public method to check, if a style is a string style. |
61 Public method to check, if a style is a string style. |
62 |
62 |
63 @param style style to check (integer) |
63 @param style style to check (integer) |
64 @return flag indicating a string style (boolean) |
64 @return flag indicating a string style (boolean) |