--- a/src/eric7/QScintilla/Shell.py Thu May 25 11:12:05 2023 +0200 +++ b/src/eric7/QScintilla/Shell.py Thu May 25 19:51:47 2023 +0200 @@ -570,11 +570,9 @@ self.useMonospaced = on - def __setAutoCompletion(self, language="Python"): + def __setAutoCompletion(self): """ Private method to configure the autocompletion function. - - @param language of the autocompletion set to set (string) """ self.setAutoCompletionCaseSensitivity( Preferences.getEditor("AutoCompletionCaseSensitivity") @@ -588,11 +586,9 @@ Preferences.getEditor("AutoCompletionMaxLines"), ) - def __setCallTips(self, language="Python"): + def __setCallTips(self): """ Private method to configure the calltips function. - - @param language of the calltips set to set (string) """ if Preferences.getShell("CallTipsEnabled"): self.setCallTipsBackgroundColor( @@ -671,8 +667,8 @@ self.__bindLexer(self.clientType) self.__setTextDisplay() self.__setMargin0() - self.__setAutoCompletion(self.clientType) - self.__setCallTips(self.clientType) + self.__setAutoCompletion() + self.__setCallTips() self.racEnabled = ( Preferences.getShell("AutoCompletionEnabled") and (cap & HasCompleter) > 0 @@ -1645,7 +1641,7 @@ elif cmd == QsciScintilla.SCI_LINESCROLLDOWN: self.__QScintillaHistoryDown(cmd) - def __QScintillaLineUp(self, cmd): + def __QScintillaLineUp(self, cmd): # noqa: U100 """ Private method to handle the cursor up command. @@ -1653,7 +1649,7 @@ """ self.SendScintilla(QsciScintilla.SCI_LINEUP) - def __QScintillaLineDown(self, cmd): + def __QScintillaLineDown(self, cmd): # noqa: U100 """ Private method to handle the cursor down command. @@ -1661,7 +1657,7 @@ """ self.SendScintilla(QsciScintilla.SCI_LINEDOWN) - def __QScintillaHistoryUp(self, cmd): + def __QScintillaHistoryUp(self, cmd): # noqa: U100 """ Private method to handle the history up command. @@ -1706,7 +1702,7 @@ self.__setHistoryIndex(index=self.__histidx - 1) self.__useHistory() - def __QScintillaHistoryDown(self, cmd): + def __QScintillaHistoryDown(self, cmd): # noqa: U100 """ Private method to handle the history down command.