'Yank back the most recently killed text.'

def yank(self):

    text = self._ring.yank()
    if text:
        self._skip_cursor = True
        cursor = self._text_edit.textCursor()
        cursor.insertText(text)
        self._prev_yank = text
