Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference > Selection Object > Methods

EmEditor Macro Reference: NewLine Method

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - EmEditor Macro Reference - Selection Object

NewLine Method

Inserts the specified number of newline characters at the cursor.


document.selection.NewLine( [ nCount ] );


document.selection.NewLine [ nCount ]



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


Supported on EmEditor Professional Version 4.00 or later.

Copyright © 2003-2021 by Emurasoft, Inc.