Skip to main content

Class: InsertCopy

actions/InsertCopy.internal.InsertCopy

Hierarchy

Implements

Constructors

constructor

new InsertCopy(graph, isBefore)

Parameters

NameType
graphGraph
isBeforeboolean

Defined in

actions/InsertCopy.ts:16

Methods

getFinalStages

getFinalStages(): ModifyIfUntypedStage[]

Used to define final stages that should be run at the end of the pipeline before the action

Returns

ModifyIfUntypedStage[]

Implementation of

Action.getFinalStages

Defined in

actions/InsertCopy.ts:14


run

run(__namedParameters): Promise<ActionReturnValue>

Parameters

NameType
__namedParameters[Target[]]

Returns

Promise<ActionReturnValue>

Implementation of

Action.run

Defined in

actions/InsertCopy.ts:21


runForEditor

Private runForEditor(editor, targets): Promise<{ sourceMark: SelectionWithEditor[] ; thatMark: SelectionWithEditor[] }>

Parameters

NameType
editorTextEditor
targetsTarget[]

Returns

Promise<{ sourceMark: SelectionWithEditor[] ; thatMark: SelectionWithEditor[] }>

Defined in

actions/InsertCopy.ts:43