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 levels. 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.

Copyright 2003-2014 by Emurasoft, Inc.