--- a/QScintilla/Shell.py Sat Mar 11 13:11:29 2017 +0100 +++ b/QScintilla/Shell.py Sat Mar 11 14:35:22 2017 +0100 @@ -1513,20 +1513,20 @@ idx -= 1 return idx - def focusNextPrevChild(self, next): + def focusNextPrevChild(self, nextChild): """ Public method to stop Tab moving to the next window. While the user is entering a multi-line command, the movement to the next window by the Tab key being pressed is suppressed. - @param next next window + @param nextChild next window @return flag indicating the movement """ - if next and self.inContinue: + if nextChild and self.inContinue: return False - return QsciScintillaCompat.focusNextPrevChild(self, next) + return QsciScintillaCompat.focusNextPrevChild(self, nextChild) def contextMenuEvent(self, ev): """ @@ -1621,14 +1621,14 @@ self.__insertText(txt) self.completionText = "" - def __completionListSelected(self, id, txt): + def __completionListSelected(self, listId, txt): """ Private slot to handle the selection from the completion list. - @param id the ID of the user list (should be 1) (integer) + @param listId the ID of the user list (should be 1) (integer) @param txt the selected text (string) """ - if id == 1: + if listId == 1: if self.completionText != "": txt = txt.replace(self.completionText, "") self.__insertText(txt)