code: def cut(self):
          
          text = self.selectedText()
          for editor in self.editors():
              editor.cut()
          
          QtGui.QApplication.clipboard().setText(text)
docs: Cuts the text from the serial to the clipboard.