MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / copy

Function copy

lib/web/kill.js:43–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43function copy() {
44 console.log("COPY");
45 _field.send("clipboard.setClipboard", {value: cm.getSelection()});
46 addToRing(cm.getSelection())
47}
48
49function cut() {
50 _field.send("clipboard.setClipboard", {value: cm.getSelection()});

Callers 3

instantiate.jsFile · 0.85
commitMethod · 0.85
versionMethod · 0.85

Calls 4

logMethod · 0.80
getSelectionMethod · 0.80
addToRingFunction · 0.70
sendMethod · 0.45

Tested by

no test coverage detected