QScintilla/Lexers/LexerPOV.py

changeset 2965
d133c7edd88a
parent 2302
f29e9405c851
child 3057
10516539f238
child 3160
209a07d7e401
equal deleted inserted replaced
2964:84b65fb9e780 2965:d133c7edd88a
47 47
48 def isCommentStyle(self, style): 48 def isCommentStyle(self, style):
49 """ 49 """
50 Public method to check, if a style is a comment style. 50 Public method to check, if a style is a comment style.
51 51
52 @param style style to check (integer)
52 @return flag indicating a comment style (boolean) 53 @return flag indicating a comment style (boolean)
53 """ 54 """
54 return style in [QsciLexerPOV.Comment, 55 return style in [QsciLexerPOV.Comment,
55 QsciLexerPOV.CommentLine] 56 QsciLexerPOV.CommentLine]
56 57
57 def isStringStyle(self, style): 58 def isStringStyle(self, style):
58 """ 59 """
59 Public method to check, if a style is a string style. 60 Public method to check, if a style is a string style.
60 61
62 @param style style to check (integer)
61 @return flag indicating a string style (boolean) 63 @return flag indicating a string style (boolean)
62 """ 64 """
63 return style in [QsciLexerPOV.String, 65 return style in [QsciLexerPOV.String,
64 QsciLexerPOV.UnclosedString] 66 QsciLexerPOV.UnclosedString]
65 67

eric ide

mercurial