EmEditor Home - EmEditor Help - EmEditor Macro Reference - Selection Object

EndOfLine Method

Moves the cursor to the end of the current line.


document.selection.EndOfLine( [ bExtend [, nFlags ] ] );


document.selection.EndOfLine [ bExtend [, nFlags ] ]



Optional. Specifies whether the moved text is collapsed or not. The default is false and the moved text is collapsed.


Optional. Specifies a combination of the following values:

eeLineView Specifies the view line.
eeLineLogical Specifies the logical line.


Supported on EmEditor Professional Version 4.00 or later.

Copyright 2003-2016 by Emurasoft, Inc.