eric6/QScintilla/Lexers/Lexer.py

changeset 7267
aedc309827c7
parent 7229
53054eb5b15a
child 7360
9190402e4505
equal deleted inserted replaced
7266:d001bc703c29 7267:aedc309827c7
77 Public method to determine, whether the lexer language supports a 77 Public method to determine, whether the lexer language supports a
78 stream comment. 78 stream comment.
79 79
80 @return flag (boolean) 80 @return flag (boolean)
81 """ 81 """
82 return \ 82 return (
83 (self.streamCommentString['start'] != "") and \ 83 self.streamCommentString['start'] != "" and
84 (self.streamCommentString['end'] != "") 84 self.streamCommentString['end'] != ""
85 )
85 86
86 def boxCommentStr(self): 87 def boxCommentStr(self):
87 """ 88 """
88 Public method to return the box comment strings. 89 Public method to return the box comment strings.
89 90
96 Public method to determine, whether the lexer language supports a 97 Public method to determine, whether the lexer language supports a
97 box comment. 98 box comment.
98 99
99 @return flag (boolean) 100 @return flag (boolean)
100 """ 101 """
101 return \ 102 return (
102 (self.boxCommentString['start'] != "") and \ 103 (self.boxCommentString['start'] != "") and
103 (self.boxCommentString['middle'] != "") and \ 104 (self.boxCommentString['middle'] != "") and
104 (self.boxCommentString['end'] != "") 105 (self.boxCommentString['end'] != "")
106 )
105 107
106 def alwaysKeepTabs(self): 108 def alwaysKeepTabs(self):
107 """ 109 """
108 Public method to check, if tab conversion is allowed. 110 Public method to check, if tab conversion is allowed.
109 111

eric ide

mercurial