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:

ParameterTypeDescription
linenumberThe line number to indent.
more?boolean | undefinedWhether to add more indentation.

Returns: void