Skip to content

CodeMirrorAdapterExCommands.newlineAndIndent method

CodeMirrorAdapterExCommands › newlineAndIndent

Unofficial

Insert a new line and auto-indent.

Signature:

newlineAndIndent(editor: CodeMirrorEditor): void

Parameters:

Parameter Type Description
editor CodeMirrorEditor The editor instance.

Returns: void