<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: yank/kill shortcuts (CTRL+Y, K) don't work in Console / QuickConsole"
href="https://bugs.webkit.org/show_bug.cgi?id=151157#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: yank/kill shortcuts (CTRL+Y, K) don't work in Console / QuickConsole"
href="https://bugs.webkit.org/show_bug.cgi?id=151157">bug 151157</a>
from <span class="vcard"><a class="email" href="mailto:bburg@apple.com" title="Brian Burg <bburg@apple.com>"> <span class="fn">Brian Burg</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=151157#c4">comment #4</a>)
<span class="quote">> 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.</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>