Bug 151663
Summary: | Web Inspector: CodeMirror's platform keymaps should match system-wide key bindings | ||
---|---|---|---|
Product: | WebKit | Reporter: | Blaze Burg <bburg> |
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | darin, graouts, inspector-bugzilla-changes, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=151312 |
Blaze Burg
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/23690419>
Darin Adler
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 :(