Class: InsertCopy
actions/InsertCopy.internal.InsertCopy
Hierarchy
InsertCopy
Implements
Constructors
constructor
• new InsertCopy(graph, isBefore)
Parameters
| Name | Type |
|---|---|
graph | Graph |
isBefore | boolean |
Defined in
actions/InsertCopy.ts:19
Methods
getFinalStages
▸ getFinalStages(): ModifyIfUntypedStage[]
Used to define final stages that should be run at the end of the pipeline before the action
Returns
Implementation of
Defined in
actions/InsertCopy.ts:17
run
▸ run(__namedParameters): Promise<ActionReturnValue>
Parameters
| Name | Type |
|---|---|
__namedParameters | [Target[]] |
Returns
Promise<ActionReturnValue>
Implementation of
Defined in
actions/InsertCopy.ts:24
runForEditor
▸ Private runForEditor(editor, targets): Promise<{ sourceMark: SelectionWithEditor[] ; thatMark: SelectionWithEditor[] }>
Parameters
| Name | Type |
|---|---|
editor | TextEditor |
targets | Target[] |
Returns
Promise<{ sourceMark: SelectionWithEditor[] ; thatMark: SelectionWithEditor[] }>
Defined in
actions/InsertCopy.ts:46