pub fn set_keymap_shortcuts(app: &AppHandle, on: bool)Expand description
Says that the copy, cut and paste chords arrive as plain keys
(eframe’s NativeOptions::clipboard_shortcuts off), so the keymap
runs them everywhere: edit.copy, edit.cut and edit.paste then
also run while a text field has the focus, and give it egui’s own
Event::Copy, Event::Cut and Event::Paste (the text read through
the system backend), as egui-winit would have. A remapped chord then
edits text fields too.
AppBuilder::run_native sets it when it turns the shortcuts off:
with SYSTEM_PLUGIN added, or when the application’s options
already have them off. Off (the default), text fields keep egui’s own
copy and paste: the web, the default backend (which reads nothing, so
it could not paste into a text field) and applications on eframe’s
own runner.