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

StartOfLine Method

Moves the cursor to the start of the line.


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


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



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


Specifies a combination of the following values:

eeLineView Specifies display lines.
eeLineLogical Specifies logical lines.
eeLineHomeText Moves to the beginning of text except spaces.


Supported on EmEditor Professional Version 4.00 or later.

Copyright 2003-2015 by Emurasoft, Inc.