MCPcopy Create free account
hub / github.com/SpartanJ/eepp / copy

Method copy

src/eepp/ui/uitextinput.cpp:816–818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

814}
815
816void UITextInput::copy() {
817 getUISceneNode()->getWindow()->getClipboard()->setText( mDoc.getSelectedText().toUtf8() );
818}
819
820void UITextInput::cut() {
821 getUISceneNode()->getWindow()->getClipboard()->setText( mDoc.getSelectedText().toUtf8() );

Callers

nothing calls this directly

Calls 5

toUtf8Method · 0.80
getSelectedTextMethod · 0.80
setTextMethod · 0.45
getClipboardMethod · 0.45
getWindowMethod · 0.45

Tested by

no test coverage detected