Skip to content

CodeMirrorAdapterExCommands.indentAuto method

CodeMirrorAdapterExCommands › indentAuto

Unofficial

Auto-indent the current line or selection.

Signature:

indentAuto(editor: CodeMirrorEditor): void

Parameters:

Parameter Type Description
editor CodeMirrorEditor The editor instance.

Returns: void