--- a/src/eric7/WebBrowser/WebBrowserJavaScriptConsole.py Fri Dec 22 13:57:47 2023 +0100 +++ b/src/eric7/WebBrowser/WebBrowserJavaScriptConsole.py Fri Dec 22 17:24:07 2023 +0100 @@ -22,7 +22,8 @@ """ Constructor - @param parent reference to the parent widget (QWidget) + @param parent reference to the parent widget + @type QWidget """ super().__init__(parent) self.setAcceptRichText(False) @@ -55,7 +56,8 @@ """ Private slot to show the context menu. - @param coord the position of the mouse pointer (QPoint) + @param coord the position of the mouse pointer + @type QPoint """ coord = self.mapToGlobal(coord) self.__menu.popup(coord) @@ -64,7 +66,8 @@ """ Private method to append text to the end. - @param txt text to insert (string) + @param txt text to insert + @type str """ tc = self.textCursor() tc.movePosition(QTextCursor.MoveOperation.End) @@ -76,7 +79,8 @@ """ Protected method handling key press events. - @param evt key press event (QKeyEvent) + @param evt key press event + @type QKeyEvent """ if evt.modifiers() == Qt.KeyboardModifier.ControlModifier: if evt.key() == Qt.Key.Key_C: