Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for long sequences of keyboard accelerators #96

Open
uxmal opened this issue Dec 30, 2015 · 1 comment
Open

support for long sequences of keyboard accelerators #96

uxmal opened this issue Dec 30, 2015 · 1 comment
Labels
enhancement This is a feature request

Comments

@uxmal
Copy link
Owner

uxmal commented Dec 30, 2015

Supporting bookmarks will require "cascading accelerators" à la Emacs. To implement this requires

  • ensuring that the key mapping file format supports multiple keys
  • when loading keys building a prefix tree for key sequences.
  • when a key stroke is pressed match it in the prefix tree. If it is a terminal node in the tree execute the command. If not remember the key stroke, display it in the status bar. Repeat for each key stroke until a leaf node is reached or until an invalid character is typed.
@uxmal
Copy link
Owner Author

uxmal commented Dec 30, 2015

The ProcessKey method of the MenuSystem class will be most affected by this enhancement.

@uxmal uxmal added the enhancement This is a feature request label Nov 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is a feature request
Projects
None yet
Development

No branches or pull requests

1 participant