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