MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / copy_lines

Function copy_lines

src/command/edit.cpp:553–557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

551};
552
553static void copy_lines(agi::Context *c) {
554 SetClipboard(join(c->selectionController->GetSortedSelection()
555 | transformed(static_cast<std::string(*)(AssDialogue*)>([](AssDialogue *d) { return d->GetEntryData(); })),
556 "\r\n"));
557}
558
559static void delete_lines(agi::Context *c, wxString const& commit_message) {
560 auto const& sel = c->selectionController->GetSelectedSet();

Callers 2

edit_line_copyClass · 0.85
operator()Function · 0.85

Calls 3

SetClipboardFunction · 0.85
GetSortedSelectionMethod · 0.80
GetEntryDataMethod · 0.45

Tested by

no test coverage detected