add delete-to-end-of-line method