QScintilla/Lexers/LexerDiff.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2965
d133c7edd88a
child 3145
a9de05d4a22f
equal deleted inserted replaced
3056:9986ec0e559a 3057:10516539f238
29 29
30 def isCommentStyle(self, style): 30 def isCommentStyle(self, style):
31 """ 31 """
32 Public method to check, if a style is a comment style. 32 Public method to check, if a style is a comment style.
33 33
34 @param style style to check (integer)
34 @return flag indicating a comment style (boolean) 35 @return flag indicating a comment style (boolean)
35 """ 36 """
36 return style in [LexerDiff.Comment] 37 return style in [LexerDiff.Comment]
37 38
38 def isStringStyle(self, style): 39 def isStringStyle(self, style):
39 """ 40 """
40 Public method to check, if a style is a string style. 41 Public method to check, if a style is a string style.
41 42
43 @param style style to check (integer)
42 @return flag indicating a string style (boolean) 44 @return flag indicating a string style (boolean)
43 """ 45 """
44 return False 46 return False
45 47
46 def defaultKeywords(self, kwSet): 48 def defaultKeywords(self, kwSet):

eric ide

mercurial