Skip to content

Cm5Editor.indentLine method

Cm5Editor › indentLine

Unofficial

Adjusts the indentation of the given line.

Signature:

indentLine(line: number, dir?: null | string, aggressive?: boolean): void

Parameters:

ParameterTypeDescription
linenumberThe line number.
dir?null | stringThe indentation direction or mode.
aggressive?booleanWhether to aggressively indent.

Returns: void