MCPcopy Create free account
hub / github.com/cursorless-dev/cursorless / decorateTargets

Method decorateTargets

src/actions/BringMoveSwap.ts:79–91  ·  view source on GitHub ↗
(
    sources: TypedSelection[],
    destinations: TypedSelection[]
  )

Source from the content-addressed store, hash-verified

77 }
78
79 private async decorateTargets(
80 sources: TypedSelection[],
81 destinations: TypedSelection[]
82 ) {
83 const decorationTypes = this.getDecorationStyles();
84 await Promise.all([
85 displayPendingEditDecorations(sources, decorationTypes.sourceStyle),
86 displayPendingEditDecorations(
87 destinations,
88 decorationTypes.destinationStyle
89 ),
90 ]);
91 }
92
93 private getEdits(
94 sources: TypedSelection[],

Callers 1

runMethod · 0.95

Calls 2

getDecorationStylesMethod · 0.95

Tested by

no test coverage detected