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

Function func

src/core/updateSelections/updateSelections.ts:249–259  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

247 // field.
248
249 const func = async () => {
250 const wereEditsApplied = await performDocumentEdits(
251 rangeUpdater,
252 editor,
253 edits
254 );
255
256 if (!wereEditsApplied) {
257 throw new Error("Could not apply edits");
258 }
259 };
260
261 await callFunctionAndUpdateSelectionInfos(
262 rangeUpdater,

Callers 7

clearMethod · 0.85
disposeMethod · 0.85
groupByFunction · 0.85
runForEachEditorFunction · 0.85
wrapperFunction · 0.85

Calls 1

performDocumentEditsFunction · 0.90

Tested by

no test coverage detected