54 |
54 |
55 def isCommentStyle(self, style): |
55 def isCommentStyle(self, style): |
56 """ |
56 """ |
57 Public method to check, if a style is a comment style. |
57 Public method to check, if a style is a comment style. |
58 |
58 |
|
59 @param style style to check (integer) |
59 @return flag indicating a comment style (boolean) |
60 @return flag indicating a comment style (boolean) |
60 """ |
61 """ |
61 return style in [QsciLexerPerl.Comment] |
62 return style in [QsciLexerPerl.Comment] |
62 |
63 |
63 def isStringStyle(self, style): |
64 def isStringStyle(self, style): |
64 """ |
65 """ |
65 Public method to check, if a style is a string style. |
66 Public method to check, if a style is a string style. |
66 |
67 |
|
68 @param style style to check (integer) |
67 @return flag indicating a string style (boolean) |
69 @return flag indicating a string style (boolean) |
68 """ |
70 """ |
69 return style in [QsciLexerPerl.DoubleQuotedHereDocument, |
71 return style in [QsciLexerPerl.DoubleQuotedHereDocument, |
70 QsciLexerPerl.DoubleQuotedString, |
72 QsciLexerPerl.DoubleQuotedString, |
71 QsciLexerPerl.QuotedStringQ, |
73 QsciLexerPerl.QuotedStringQ, |