Press &shortcut:EditorDeleteLine; in the editor to delete the whole line at the caret.