bazed-editor / bazed

The baz editor
Apache License 2.0
26 stars 3 forks source link

Implement first prototype of event system #91

Open elkowar opened 1 year ago

elkowar commented 1 year ago

After lots of discussions, more or less this is what we came up with: image

Input handling should have one centralized input mapper that re-emits events (Semantic and function calls, I guess?) that registers itself, thus we'll (at least for now) also not need to care as much about priorities in the event system itself (although that will still matter in the future). The input mapper may be expressible as a stack of keymaps, but that'll need to be further discussed / analyzed, I think