Deletes the line to the right of the cursor.
Deletes text from the cursor position to the end of the logical line at the cursor.
document.selection.EndOfLine(true,eeLineLogical);
document.selection.Delete(1);
document.selection.EndOfLine true,eeLineLogical
document.selection.Delete 1