docs: def _on_key_pressed(self, event):
          """
          Resets editor font size to the default font size
  
          :param event: wheelEvent
          :type event: QKeyEvent
          """
          if (int(event.modifiers()) & QtCore.Qt.ControlModifier > 0 and
                  not int(event.modifiers()) & QtCore.Qt.ShiftModifier):
              if event.key() == QtCore.Qt.Key_0:
                  self.editor.reset_zoom()
                  event.accept()
              if event.key() == QtCore.Qt.Key_Plus:
                  self.editor.zoom_in()
                  event.accept()
              if event.key() == QtCore.Qt.Key_Minus:
                  self.editor.zoom_out()
                  event.accept()