52 |
52 |
53 def isCommentStyle(self, style): |
53 def isCommentStyle(self, style): |
54 """ |
54 """ |
55 Public method to check, if a style is a comment style. |
55 Public method to check, if a style is a comment style. |
56 |
56 |
|
57 @param style style to check (integer) |
57 @return flag indicating a comment style (boolean) |
58 @return flag indicating a comment style (boolean) |
58 """ |
59 """ |
59 return style in [QsciLexerHTML.HTMLComment, |
60 return style in [QsciLexerHTML.HTMLComment, |
60 QsciLexerHTML.ASPXCComment, |
61 QsciLexerHTML.ASPXCComment, |
61 QsciLexerHTML.SGMLComment, |
62 QsciLexerHTML.SGMLComment, |
74 |
75 |
75 def isStringStyle(self, style): |
76 def isStringStyle(self, style): |
76 """ |
77 """ |
77 Public method to check, if a style is a string style. |
78 Public method to check, if a style is a string style. |
78 |
79 |
|
80 @param style style to check (integer) |
79 @return flag indicating a string style (boolean) |
81 @return flag indicating a string style (boolean) |
80 """ |
82 """ |
81 return style in [QsciLexerHTML.HTMLDoubleQuotedString, |
83 return style in [QsciLexerHTML.HTMLDoubleQuotedString, |
82 QsciLexerHTML.HTMLSingleQuotedString, |
84 QsciLexerHTML.HTMLSingleQuotedString, |
83 QsciLexerHTML.SGMLDoubleQuotedString, |
85 QsciLexerHTML.SGMLDoubleQuotedString, |