QScintilla/Lexers/LexerCMake.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2965
d133c7edd88a
child 3145
a9de05d4a22f
equal deleted inserted replaced
3056:9986ec0e559a 3057:10516539f238
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):

eric ide

mercurial