text-delete extended for multiple arguments