--- a/eric7/HelpViewer/HelpViewerImplQWE.py Tue Oct 19 19:55:21 2021 +0200 +++ b/eric7/HelpViewer/HelpViewerImplQWE.py Tue Oct 19 19:57:26 2021 +0200 @@ -407,8 +407,9 @@ @type QKeyEvent """ key = evt.key() - isControlModifier = bool( - evt.modifiers() & Qt.KeyboardModifier.ControlModifier) + isControlModifier = ( + evt.modifiers() == Qt.KeyboardModifier.ControlModifier + ) if ( key == Qt.Key.Key_ZoomIn or @@ -434,6 +435,21 @@ elif key == Qt.Key.Key_Right and isControlModifier: self.forward() evt.accept() + elif key == Qt.Key.Key_F and isControlModifier: + self.__helpViewerWidget.showHideSearch(True) + evt.accept() + elif ( + key == Qt.Key.Key_F3 and + evt.modifiers() == Qt.KeyboardModifier.NoModifier + ): + self.__helpViewerWidget.searchNext() + evt.accept() + elif ( + key == Qt.Key.Key_F3 and + evt.modifiers() == Qt.KeyboardModifier.ShiftModifier + ): + self.__helpViewerWidget.searchPrev() + evt.accept() def _mouseReleaseEvent(self, evt): """