Skip to content

insertTab

insertTab(editor, pos): boolean

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

Command that inserts spaces if insertSpaces isn’t false or a tab character otherwise at the specified position unless the editor is readOnly.

PrismEditor

Editor to execute the command on.

number

Position to insert the tab.

boolean