<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _end_del(self):
 """ Deletes the line content after the cursor """

        text = self.edit_text[:self.edit_pos]
        self.set_edit_text(text)