QScintilla/Lexers/LexerVHDL.py

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

eric ide

mercurial