linebender / xilem

An experimental Rust native UI framework
Apache License 2.0
3.49k stars 108 forks source link

Implement text navigation/edition actions in Masonry #266

Open PoignardAzur opened 4 months ago

PoignardAzur commented 4 months ago

We'd like to provide text handling that feels native to our users' platform. A major requirement is for the framework to recognize inputs like Shift+Arrow or Ctrl+Del and update the selection accordingly.

We also want to let developers provide keyboard shortcut configuration so that users can pick their own keybindings. Moreover, on MacOS the platform itself lets users customize keybindings and expect all apps to match (see this discussion on zulip).

Here is what I think we should do:

waywardmonkeys commented 4 months ago

I sort of feel like this would be a good standalone crate that can be used outside of just masonry / xilem.