[Webkit-unassigned] [Bug 161536] Web Inspector: add a test to track changes to CodeMirror bindings in configurations used by WebInspectorUI

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 2 10:26:03 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=161536

--- Comment #2 from Brian Burg <bburg at apple.com> ---
You can manually collate the keybindings like so:

> m = {}; cm.state.keyMaps.reverse().forEach((map) => { for (let key in map) { m[key] = map[key]; }})
> m
< Object = {
Alt-Backspace: function()
Alt-D: function()
Alt-Delete: function()
...
}

Then sort keys lexicographically and dump the function name using .name

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160902/f35ca841/attachment-0001.html>


More information about the webkit-unassigned mailing list