Skip to content

CodeMirrorEditor.indentLine method

CodeMirrorEditor › indentLine

Unofficial

Indent the given line, optionally adding more indentation.

Signature:

indentLine(line: number, more?: boolean | undefined): void

Parameters:

Parameter Type Description
line number The line number to indent.
more? boolean | undefined Whether to add more indentation.

Returns: void