docs: def _copy_selection(self, *event):
          """Copies the current selection to the clipboard.
          """
          if react_to_event(self.view, self.view.editor, event):
              logger.debug("copy selection")
              global_clipboard.copy(self.model.selection)
              return True