在编辑器中按
&shortcut:EditorDeleteLine;
以删除文本光标处的整行。