Show/Hide Toolbars

EmEditor Help

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

EmEditor Macro Reference: StartOfDocument Method

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

StartOfDocument Method

Moves the cursor to the start of the document.

[JavaScript]

document.selection.StartOfDocument( [ bExtend ] );

[VBScript]

document.selection.StartOfDocument [ bExtend ]

Parameters

bExtend

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

Version

Supported on EmEditor Professional Version 4.00 or later.

Copyright © 2003-2016 by Emurasoft, Inc.