QScintilla/Lexers/LexerProperties.py

changeset 2965
d133c7edd88a
parent 2302
f29e9405c851
child 3011
18292228c724
equal deleted inserted replaced
2964:84b65fb9e780 2965:d133c7edd88a
40 40
41 def isCommentStyle(self, style): 41 def isCommentStyle(self, style):
42 """ 42 """
43 Public method to check, if a style is a comment style. 43 Public method to check, if a style is a comment style.
44 44
45 @param style style to check (integer)
45 @return flag indicating a comment style (boolean) 46 @return flag indicating a comment style (boolean)
46 """ 47 """
47 return style in [QsciLexerProperties.Comment] 48 return style in [QsciLexerProperties.Comment]
48 49
49 def isStringStyle(self, style): 50 def isStringStyle(self, style):
50 """ 51 """
51 Public method to check, if a style is a string style. 52 Public method to check, if a style is a string style.
52 53
54 @param style style to check (integer)
53 @return flag indicating a string style (boolean) 55 @return flag indicating a string style (boolean)
54 """ 56 """
55 return False 57 return False
56 58
57 def defaultKeywords(self, kwSet): 59 def defaultKeywords(self, kwSet):

eric ide

mercurial