QScintilla/Lexers/LexerPostScript.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2965
d133c7edd88a
child 3145
a9de05d4a22f
equal deleted inserted replaced
3056:9986ec0e559a 3057:10516539f238
41 41
42 def isCommentStyle(self, style): 42 def isCommentStyle(self, style):
43 """ 43 """
44 Public method to check, if a style is a comment style. 44 Public method to check, if a style is a comment style.
45 45
46 @param style style to check (integer)
46 @return flag indicating a comment style (boolean) 47 @return flag indicating a comment style (boolean)
47 """ 48 """
48 return style in [QsciLexerPostScript.Comment] 49 return style in [QsciLexerPostScript.Comment]
49 50
50 def isStringStyle(self, style): 51 def isStringStyle(self, style):
51 """ 52 """
52 Public method to check, if a style is a string style. 53 Public method to check, if a style is a string style.
53 54
55 @param style style to check (integer)
54 @return flag indicating a string style (boolean) 56 @return flag indicating a string style (boolean)
55 """ 57 """
56 return False 58 return False
57 59
58 def defaultKeywords(self, kwSet): 60 def defaultKeywords(self, kwSet):

eric ide

mercurial