155 self.editor.insert(' ' * (lastOpenIndex - col + 1)) |
155 self.editor.insert(' ' * (lastOpenIndex - col + 1)) |
156 self.editor.setCursorPosition(line, lastOpenIndex + 1) |
156 self.editor.setCursorPosition(line, lastOpenIndex + 1) |
157 |
157 |
158 def __inComment(self, line, col): |
158 def __inComment(self, line, col): |
159 """ |
159 """ |
160 Private method to check, if the cursor is inside a comment |
160 Private method to check, if the cursor is inside a comment. |
161 |
161 |
162 @param line current line (integer) |
162 @param line current line (integer) |
163 @param col current position within line (integer) |
163 @param col current position within line (integer) |
164 @return flag indicating, if the cursor is inside a comment (boolean) |
164 @return flag indicating, if the cursor is inside a comment (boolean) |
165 """ |
165 """ |