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

EndOfDocument Method

Moves the cursor to the end of the document.

[JavaScript]

document.selection.EndOfDocument( [ bExtend ] );

[VBScript]

document.selection.EndOfDocument [ 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.

Send feedback on this topic to Emurasoft

Copyright © 2003-2008 by Emurasoft, Inc.