&shortcut:EditorDeleteLine; in the editor deletes the whole line at the caret.