Cutting data to the clipboard replaces the contents previously stored there. Use the Delete key instead to delete text without altering the contents of the clipboard.
You can't alter the contents of an editor that is being run or debugged, nor marked as read-only.