QScintilla/Lexers/LexerTCL.py

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

eric ide

mercurial