Add, Delete, and Move Lines
You normally press Enter to start a new line, but you can also start a new line even if the caret is currently in the middle of another line.
Add a new line
Press Shift+Enter to add a new line after the current line.
Press Ctrl+Alt+Enter to add a new line before the current line.
Instead of starting an empty line, you can duplicate an existing line and edit it as required.
Duplicate a line or selection
Place the caret at the line to be duplicated, or select the desired fragment of text.
To delete the current line
To move a line up or down
Place the caret at the line to be moved.
Do one of the following:
Choosefrom the main menu.
Press Alt+Shift+Up or Alt+Shift+Down.