Web Inspector: CodeMirror's platform keymaps should match system-wide key bindings
https://bugs.webkit.org/show_bug.cgi?id=151663
Summary Web Inspector: CodeMirror's platform keymaps should match system-wide key bin...
Blaze Burg
Reported 2015-11-30 10:35:11 PST
This seems like a substantial task if we want it to be cross-platform at all. Below are some details on how Cocoa is configured with system-wide key bindings. https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/EventOverview/TextDefaultsBindings/TextDefaultsBindings.html
Attachments
Radar WebKit Bug Importer
Comment 1 2015-11-30 10:35:42 PST
Darin Adler
Comment 2 2015-11-30 10:38:08 PST
Respecting this in WebKit was super-challenging; I expect this will be hard to do. Being cross-platform isn’t the hard part; it’s easy to make a hard-coded version for the non-Apple platforms that matches the approach those platforms take to such things, since a system bindings file is a sort of unusual feature. The hard part is finding a way to pipe keyboard input through the public Cocoa APIs to figure out what editing operation to perform. There’s some internal interface that is a bit more flexible but even relying on that probably wouldn’t be a big help. Probably not worth the effort :(
Note You need to log in before you can comment on or make changes to this bug.