--- a/src/eric7/Network/IRC/IrcMessageEdit.py Wed Dec 20 11:06:38 2023 +0100 +++ b/src/eric7/Network/IRC/IrcMessageEdit.py Wed Dec 20 14:58:58 2023 +0100 @@ -37,7 +37,8 @@ Note: This reimplementation ensures, that the cursor is at the end of the text. - @param text text to be set (string) + @param text text to be set + @type str """ super().setText(text) self.setCursorPosition(len(text)) @@ -46,7 +47,8 @@ """ Protected method implementing special key handling. - @param evt reference to the event (QKeyEvent) + @param evt reference to the event + @type QKeyEvent """ key = evt.key() if key == Qt.Key.Key_Up: @@ -68,7 +70,8 @@ """ Protected slot to support wheel events. - @param evt reference to the wheel event (QWheelEvent) + @param evt reference to the wheel event + @type QWheelEvent """ delta = evt.angleDelta().y() if delta > 0: @@ -82,7 +85,8 @@ """ Private method to add an entry to the history. - @param txt text to be added to the history (string) + @param txt text to be added to the history + @type str """ # Only add the entry, if it is not the same as last time if len(self.__historyList) == 1 or ( @@ -100,7 +104,8 @@ """ Private method to move in the history. - @param up flag indicating the direction (boolean) + @param up flag indicating the direction + @type bool """ # preserve the current text, if it is not empty if self.text():