MCPcopy Create free account
hub / github.com/MyGUI/mygui / commandCopy

Method commandCopy

MyGUIEngine/src/MyGUI_EditBox.cpp:1523–1529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1521 }
1522
1523 void EditBox::commandCopy() const
1524 {
1525 if (isTextSelection() && (!mModePassword))
1526 ClipboardManager::getInstance().setClipboardData(EDIT_CLIPBOARD_TYPE_TEXT, getTextSelection());
1527 else
1528 ClipboardManager::getInstance().clearClipboardData(EDIT_CLIPBOARD_TYPE_TEXT);
1529 }
1530
1531 void EditBox::commandPaste()
1532 {

Callers

nothing calls this directly

Calls 2

setClipboardDataMethod · 0.80
clearClipboardDataMethod · 0.80

Tested by

no test coverage detected