Community
Participate
Working Groups
- click on the wrench of an open editor and change the Keys>Key Bindings to either Emacs or vi - invoke Tools > Show Keys - keybindings are not shown, instead an error is spewed: Uncaught TypeError: e.getKeys is not a function at Object.s [as getUserKeyString] (uiUtils.js:138) at a.createItem (keyAssist.js:122) at L.showKeyBindings (editorCommands.js:450) at a.createContents (keyAssist.js:116) at a.show (keyAssist.js:383) at a.callback (keyAssist.js:438) at p._collectAndInvoke (commandRegistry.js:486) at p._invoke (commandRegistry.js:426) at a.M (commandRegistry.js:1311) at HTMLSpanElement.<anonymous> (commands.js:541)
Comparing the "binding" objects that get processed by uiUtils.js:138, they look completely different between the "Default" and "Emacs/vi" cases, so not surprising that getKeys() is not defined in the latter case.
Fixed by https://github.com/eclipse/orion.client/commit/6e408be3be205ec2971146d5068b7cd6b606cbce