You can delete the line at the caret simply by pressing &shortcut:EditorDeleteLine;.