185 indent = "" |
185 indent = "" |
186 |
186 |
187 elif ch == "/" and next == "*": |
187 elif ch == "/" and next == "*": |
188 self.cursor += 1 |
188 self.cursor += 1 |
189 text = "/*" |
189 text = "/*" |
|
190 inline = startLine == self.line and startLine > 1 |
190 commentStartLine = self.line |
191 commentStartLine = self.line |
191 if startLine == self.line and not startOfFile: |
192 if startLine == self.line and not startOfFile: |
192 mode = "inline" |
193 mode = "inline" |
193 elif (self.line-1) > startLine: |
194 elif (self.line-1) > startLine: |
194 # distance before this comment means it is a comment block for a whole section (multiple lines of code) |
195 # distance before this comment means it is a comment block for a whole section (multiple lines of code) |