| 242 | } |
| 243 | |
| 244 | std::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 | |
| 248 | std::pair<std::string, TextData> TextBox::process_cut(Cursor& cur) { |
| 249 | auto toRet = process_copy(cur); |
no outgoing calls
no test coverage detected