QScintilla/TypingCompleters/CompleterRuby.py

changeset 2965
d133c7edd88a
parent 2302
f29e9405c851
child 3011
18292228c724
equal deleted inserted replaced
2964:84b65fb9e780 2965:d133c7edd88a
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 """

eric ide

mercurial