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

WordLeft Method

Moves the cursor the specified number of words to the left.

[JavaScript]

document.selection.WordLeft( [ bExtend [, nCount ] ] );

[VBScript]

document.selection.WordLeft [ bExtend [, nCount ] ]

Parameters

bExtend

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

nCount

Optional. Specifies the number of words to move to the left. The default is 1. If negative, the method acts like the WordRight Method. If 0, the method acts like 1.

Version

Supported on EmEditor Professional Version 4.00 or later.

Copyright 2003-2014 by Emurasoft, Inc.