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.
Parameters
Section titled “Parameters”editor
Section titled “editor”Editor to execute the command on.
number
Position to insert the tab.
Returns
Section titled “Returns”boolean