38 |
38 |
39 def isCommentStyle(self, style): |
39 def isCommentStyle(self, style): |
40 """ |
40 """ |
41 Public method to check, if a style is a comment style. |
41 Public method to check, if a style is a comment style. |
42 |
42 |
|
43 @param style style to check (integer) |
43 @return flag indicating a comment style (boolean) |
44 @return flag indicating a comment style (boolean) |
44 """ |
45 """ |
45 return style in [QsciLexerCMake.Comment] |
46 return style in [QsciLexerCMake.Comment] |
46 |
47 |
47 def isStringStyle(self, style): |
48 def isStringStyle(self, style): |
48 """ |
49 """ |
49 Public method to check, if a style is a string style. |
50 Public method to check, if a style is a string style. |
50 |
51 |
|
52 @param style style to check (integer) |
51 @return flag indicating a string style (boolean) |
53 @return flag indicating a string style (boolean) |
52 """ |
54 """ |
53 return style in [QsciLexerCMake.String] |
55 return style in [QsciLexerCMake.String] |
54 |
56 |
55 def defaultKeywords(self, kwSet): |
57 def defaultKeywords(self, kwSet): |