Skip to content

indentSelectedLines

indentSelectedLines(editor, less?): boolean

Defined in: extensions/commands/commands.ts:82

Command that indents or outdents all user-selected lines in the editor unless the editor is readOnly.

PrismEditor

Editor to execute the command on.

boolean

By default lines are indented. By passing true, lines are outdented instead.

boolean