docs: def _cut_selection(self, *event):
          """Cuts the current selection and copys it to the clipboard.
          """
          if react_to_event(self.view, self.view.editor, event):
              logger.debug("cut selection")
              global_clipboard.cut(self.model.selection)
              return True