MCPcopy Create free account
hub / github.com/assaultcube/AC / copy

Function copy

source/src/editing.cpp:622–634  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620}
621
622void copy()
623{
624 EDITSEL("copy");
625 resetcopybuffers();
626 copytexconfig = texconfig_copy();
627
628 loopv(sels)
629 {
630 block *b = blockcopy(sels[i]);
631 copybuffers.add(b);
632 }
633
634}
635COMMAND(copy, "");
636
637void paste()

Callers

nothing calls this directly

Calls 2

resetcopybuffersFunction · 0.85
texconfig_copyFunction · 0.85

Tested by

no test coverage detected