Bug 151312

Summary: Web Inspector: delete-by-word and similar shortcuts should add text to the WebCore kill ring
Product: WebKit Reporter: Blaze Burg <bburg>
Component: Web InspectorAssignee: Blaze Burg <bburg>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, commit-queue, darin, graouts, joepeck, mattbaker, nvasilyev, timothy, 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=151663
Bug Depends on: 151157    
Bug Blocks:    
Attachments:
Description Flags
Proposed Fix none

Blaze Burg
Reported 2015-11-16 10:39:06 PST
Follow-up work for 151157 to address other uses of kill ring.
Attachments
Proposed Fix (6.02 KB, patch)
2015-11-21 12:05 PST, Blaze Burg
no flags
Blaze Burg
Comment 1 2015-11-21 12:05:09 PST
Created attachment 266030 [details] Proposed Fix
Radar WebKit Bug Importer
Comment 2 2015-11-21 12:05:32 PST
Radar WebKit Bug Importer
Comment 3 2015-11-21 12:05:40 PST
Darin Adler
Comment 4 2015-11-30 10:00:22 PST
Comment on attachment 266030 [details] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=266030&action=review > Source/WebInspectorUI/UserInterface/Controllers/CodeMirrorTextKillController.js:44 > + // FIXME: these keybindings match CodeMirror's default keymap for OS X. > + // They should probably be altered for Windows / Linux someday. Unfortunate to have to hard code these like this. Generally speaking, Safari and WebKit respect the OS X system-wide key bindings <https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/EventOverview/TextDefaultsBindings/TextDefaultsBindings.html>.
WebKit Commit Bot
Comment 5 2015-11-30 10:27:08 PST
Comment on attachment 266030 [details] Proposed Fix Clearing flags on attachment: 266030 Committed r192804: <http://trac.webkit.org/changeset/192804>
WebKit Commit Bot
Comment 6 2015-11-30 10:27:13 PST
All reviewed patches have been landed. Closing bug.
Blaze Burg
Comment 7 2015-11-30 10:29:49 PST
(In reply to comment #4) > Comment on attachment 266030 [details] > Proposed Fix > > View in context: > https://bugs.webkit.org/attachment.cgi?id=266030&action=review > > > Source/WebInspectorUI/UserInterface/Controllers/CodeMirrorTextKillController.js:44 > > + // FIXME: these keybindings match CodeMirror's default keymap for OS X. > > + // They should probably be altered for Windows / Linux someday. > > Unfortunate to have to hard code these like this. Generally speaking, Safari > and WebKit respect the OS X system-wide key bindings > <https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ > EventOverview/TextDefaultsBindings/TextDefaultsBindings.html>. Wow, I had no idea that this exists! I'll file a bug to see if we can integrate it.
Note You need to log in before you can comment on or make changes to this bug.