theia-ide / sprotty

A next-gen web-based graphics framework
Apache License 2.0
138 stars 23 forks source link

Use arrow keys #159

Open spoenemann opened 7 years ago

spoenemann commented 7 years ago

We could use the arrow keys in at least two ways:

This should be configurable (e.g. through ViewerOptions).

spoenemann commented 7 years ago

Also consider modifiers, e.g. shift for bigger move steps and alt for smaller move steps.

JanKoehnlein commented 7 years ago

For the different variations, I'd rather go for a DI based approach (e.g. rebinding an existing KeyListener) instead of a declarative one (in the options) as the latter is far less flexible.