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

StartOfLine Method

Moves the cursor to the start of the line.

[JavaScript]

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

[VBScript]

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

Parameters

bExtend

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

nFlags

Specifies a combination of the following values:

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

Version

Supported on EmEditor Professional Version 4.00 or later.

Send feedback on this topic to Emurasoft

Copyright © 2003-2008 by Emurasoft, Inc.