Homec4science

Provide basic structure for keyboard shortcuts

Authored by epriestley <git@epriestley.com> on May 28 2011, 20:36.

Description

Provide basic structure for keyboard shortcuts

Summary: Implements a simple infrastructure for keyboard shortcuts, see T184, and a "help" shortcut.

There's a lot of room for refinement here but I think it basically works. Each shortcut can also provide a "tooltip" handler which allows it to show help when the alt/option key is held down.

Test Plan: Pressed "?" and got help. Pressed "?" in various contexts where it should not activate (modifier keys, text input focused) and didn't get help.

Reviewers: aran, tuomaspelkonen, jungejason

CC: moskov

Differential Revision: 362

Details

Committed
epriestley <git@epriestley.com>Jun 7 2011, 20:23
Pushed
aubortJan 31 2017, 17:16
Parents
rPH404c3283cb0b: Don't ignore internal whitespace changes in "Whitespace: Ignore All"
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH48ec1f6d9888: Provide basic structure for keyboard shortcuts (authored by epriestley <git@epriestley.com>).Jun 7 2011, 20:23