QScintilla/Lexers/LexerCMake.py

changeset 2965
d133c7edd88a
parent 2302
f29e9405c851
child 3057
10516539f238
child 3160
209a07d7e401
equal deleted inserted replaced
2964:84b65fb9e780 2965:d133c7edd88a
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):

eric ide

mercurial