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

DeleteLeft Method

Deletes the selected text. If the selection is empty, deletes the specified number of characters to the left of the cursor.

[JavaScript]

document.selection.DeleteLeft( [nCount ] );

[VBScript]

document.selection.DeleteLeft [ nCount ]

Parameters

nCount

Optional. Specifies the number of characters to delete to the left of the cursor. The default is 1. If negative, the method acts like the Delete Method. If 0, the method acts like 1.

Version

Supported on EmEditor Professional Version 4.00 or later.

Copyright 2003-2015 by Emurasoft, Inc.