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): |