Skip to main content

Class: ToggleLineComment

actions/SimpleIdeCommandActions.ToggleLineComment

Hierarchy

Constructors

constructor

new ToggleLineComment(graph)

Parameters

NameType
graphGraph

Inherited from

SimpleIdeCommandAction.constructor

Defined in

actions/SimpleIdeCommandActions.ts:28

Properties

command

command: CommandId = "toggleLineComment"

Overrides

SimpleIdeCommandAction.command

Defined in

actions/SimpleIdeCommandActions.ts:67


ensureSingleEditor

ensureSingleEditor: boolean = false

Inherited from

SimpleIdeCommandAction.ensureSingleEditor

Defined in

actions/SimpleIdeCommandActions.ts:23


ensureSingleTarget

ensureSingleTarget: boolean = false

Inherited from

SimpleIdeCommandAction.ensureSingleTarget

Defined in

actions/SimpleIdeCommandActions.ts:24


restoreSelection

restoreSelection: boolean = true

Inherited from

SimpleIdeCommandAction.restoreSelection

Defined in

actions/SimpleIdeCommandActions.ts:25


showDecorations

showDecorations: boolean = true

Inherited from

SimpleIdeCommandAction.showDecorations

Defined in

actions/SimpleIdeCommandActions.ts:26

Methods

run

run(targets, __namedParameters?): Promise<ActionReturnValue>

Parameters

NameType
targets[Target[]]
__namedParametersOptions

Returns

Promise<ActionReturnValue>

Inherited from

SimpleIdeCommandAction.run

Defined in

actions/SimpleIdeCommandActions.ts:33