| 43 | struct TextFieldSelectAllItem : ui::MenuItem { |
| 44 | WeakPtr<TextField> textField; |
| 45 | void onAction(const ActionEvent& e) override { |
| 46 | if (!textField) |
| 47 | return; |
| 48 | textField->selectAll(); |
| 49 | APP->event->setSelectedWidget(textField); |
| 50 | } |
| 51 | }; |
| 52 | |
| 53 |
nothing calls this directly
no test coverage detected