mirror of
https://github.com/storytold/egui.git
synced 2026-11-25 03:53:35 +01:00
* Closes <https://github.com/emilk/egui/issues/5852> * [x] I have followed the instructions in the PR template Selecting text in a `Label` or a `TextEdit` now fills the PRIMARY selection, and middle-clicking a `TextEdit` pastes it. This is what all other X11 and Wayland applications do. Testing: `tests/egui_tests/tests/test_primary_selection.rs`. Publishing from labels and text edits, no publishing of passwords, no re-claiming of an unchanged selection, nothing at all on non-PRIMARY platforms, pasting at the click position rather than at the cursor, and no paste from a click outside the widget. --------- Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
Test apps
Some application to tests various parts of egui and eframe.
At some point it would be nice to have automatic screenshot regression tests for these.