code: def paste_clipboard_data(self, data, paste_mode=PasteMode.EMACS, count=1):
          
          assert isinstance(data, ClipboardData)
          assert paste_mode in (PasteMode.VI_BEFORE, PasteMode.VI_AFTER, PasteMode.EMACS)
  
          original_document = self.document
          self.document = self.document.paste_clipboard_data(data, paste_mode=paste_mode, count=count)
  
          # Remember original document. This assignment should come at the end,
          # because assigning to 'document' will erase it.
          self.document_before_paste = original_document
docs: Insert the data from the clipboard.