--- a/QScintilla/TypingCompleters/CompleterRuby.py Tue Oct 15 22:03:54 2013 +0200 +++ b/QScintilla/TypingCompleters/CompleterRuby.py Fri Oct 18 23:00:41 2013 +0200 @@ -65,7 +65,8 @@ @param charNumber value of the character entered (integer) """ char = chr(charNumber) - if char not in ['(', ')', '{', '}', '[', ']', ',', "'", '"', '\n', ' ']: + if char not in ['(', ')', '{', '}', '[', ']', ',', "'", '"', + '\n', ' ']: return # take the short route line, col = self.editor.getCursorPosition() @@ -159,7 +160,7 @@ def __inComment(self, line, col): """ - Private method to check, if the cursor is inside a comment + Private method to check, if the cursor is inside a comment. @param line current line (integer) @param col current position within line (integer) @@ -176,7 +177,8 @@ def __inDoubleQuotedString(self): """ - Private method to check, if the cursor is within a double quoted string. + Private method to check, if the cursor is within a double quoted + string. @return flag indicating, if the cursor is inside a double quoted string (boolean) @@ -185,7 +187,8 @@ def __inSingleQuotedString(self): """ - Private method to check, if the cursor is within a single quoted string. + Private method to check, if the cursor is within a single quoted + string. @return flag indicating, if the cursor is inside a single quoted string (boolean) @@ -196,7 +199,8 @@ """ Private method to check, if the cursor is within a here document. - @return flag indicating, if the cursor is inside a here document (boolean) + @return flag indicating, if the cursor is inside a here document + (boolean) """ return self.editor.currentStyle() == QsciLexerRuby.HereDocument @@ -204,6 +208,7 @@ """ Private method to check, if the cursor is within an inline document. - @return flag indicating, if the cursor is inside an inline document (boolean) + @return flag indicating, if the cursor is inside an inline document + (boolean) """ return self.editor.currentStyle() == QsciLexerRuby.POD