MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / onCopy

Method onCopy

src/app/ui/timeline.cpp:2658–2668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2656}
2657
2658bool Timeline::onCopy(Context* ctx)
2659{
2660 if (m_range.enabled()) {
2661 const ContextReader reader(ctx);
2662 if (reader.document()) {
2663 clipboard::copy_range(reader, m_range);
2664 return true;
2665 }
2666 }
2667 return false;
2668}
2669
2670bool Timeline::onPaste(Context* ctx)
2671{

Callers 1

copyMethod · 0.45

Calls 3

copy_rangeFunction · 0.50
enabledMethod · 0.45
documentMethod · 0.45

Tested by

no test coverage detected