Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference > Selection Object > Methods

EmEditor Macro Reference: Indent Method

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - EmEditor Macro Reference - Selection Object

Indent Method

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


document.selection.Indent( [ nCount ] );


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


Supported on EmEditor Professional Version 4.00 or later.

Copyright © 2003-2021 by Emurasoft, Inc.