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

Indent Method

Indents the selected lines by the specified number of indentation levels.

[JavaScript]

document.selection.Indent( [ nCount ] );

[VBScript]

document.selection.Indent [ nCount ]

Parameters

nCount

Optional. Specifies the number of indentation leveles. The default is 1. If negative, the method acts like the UnIndent Method. If 0, the method acts like 1.

Version

Supported on EmEditor Professional Version 4.00 or later.

Send feedback on this topic to Emurasoft

Copyright © 2003-2008 by Emurasoft, Inc.