Macro Reference — Selection Object — NewLine Method (Selection Object)

# NewLine Method (Selection Object)

Inserts the specified number of newline characters at the cursor.

##

### [JavaScript]

    document.selection.NewLine( [ nCount ] );

### [VBScript]

    document.selection.NewLine [ nCount ]

## Parameters

nCount

Optional. Specifies the number of newline characters at the cursor position. The default is 1.

## Version

Supported on EmEditor Professional Version 4.00 or later.