docs: def keyPressEvent(self, event):
          """
          Handles the key press event.  When the user hits F5, the current
          code edit will be executed within the console's scope.
          
          :param      event | <QtCore.QKeyEvent>
          """
          if event.key() == QtCore.Qt.Key_F5 or \
             (event.key() == QtCore.Qt.Key_E and \
              event.modifiers() == QtCore.Qt.ControlModifier):
              code = str(self._edit.toPlainText())
              scope = self.viewWidget().codeScope()
              
              exec code in scope, scope
          else:
              super(XScriptView, self).keyPressEvent(event)