Marks text before deleting it