MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / process_copy

Method process_copy

src/RichText/TextBox.cpp:244–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244std::pair<std::string, TextData> TextBox::process_copy(Cursor& cur) {
245 return {get_text_between(cur.selectionBeginPos, cur.selectionEndPos), get_rich_text_data_between(cur.selectionBeginPos, cur.selectionEndPos)};
246}
247
248std::pair<std::string, TextData> TextBox::process_cut(Cursor& cur) {
249 auto toRet = process_copy(cur);

Callers 2

input_key_callbackMethod · 0.80
right_click_popup_guiMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected