def cut(self):
self.copy()<EOL>if self.can_cut():<EOL><INDENT>self._control.textCursor().removeSelectedText()<EOL><DEDENT>
Copy the currently selected text to the clipboard and delete it
            if it's inside the input buffer.