[Webkit-unassigned] [Bug 151157] Web Inspector: yank/kill shortcuts (CTRL+Y, K) don't work in Console / QuickConsole

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 11 17:02:01 PST 2015


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

--- Comment #5 from Brian Burg <bburg at apple.com> ---
(In reply to comment #4)
> Nikita suspects that this is a CodeMirror issue. We may simply not have
> those shortcut bindings implemented. We need to expose kill/yank in
> InspectorFrontendHost to have a consistent yank/kill experience across Web
> Inspector's native controls (<input type=search>) and CodeMirror instances.

CodeMirror implements CTRL + K entirely within the editor by removing some text from the editor. It doesn't handle CTRL + Y on Mac (it's redo on Windows). Since WebCore editing didn't handle the kill, it yanks old text if it had any but never gets kills done in CodeMirror. I think we can add a host function to tell WebCore about the killed text.

-- 
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/20151112/df3f9a63/attachment.html>


More information about the webkit-unassigned mailing list