<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: Autocomplete: Undo (Cmd+Z) doesn't work as expected"
href="https://bugs.webkit.org/show_bug.cgi?id=147316">147316</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Web Inspector: Autocomplete: Undo (Cmd+Z) doesn't work as expected
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>528+ (Nightly build)
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Critical
</td>
</tr>
<tr>
<th>Priority</th>
<td>P1
</td>
</tr>
<tr>
<th>Component</th>
<td>Web Inspector
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nvasilyev@apple.com
</td>
</tr>
<tr>
<th>CC</th>
<td>graouts@webkit.org, joepeck@webkit.org, jonowells@apple.com, mattbaker@apple.com, nvasilyev@apple.com, timothy@apple.com, webkit-bug-importer@group.apple.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=257547" name="attach_257547" title="Animated GIF of the problem">attachment 257547</a> <a href="attachment.cgi?id=257547&action=edit" title="Animated GIF of the problem">[details]</a></span>
Animated GIF of the problem
The problem persists in all the places where autocomplete is available: console, styles panel, CSS resource, etc.
Steps:
1. type "window" in the console
2. Press Command Z
Actual:
<span class="quote">> window|w</span >
Note that Command Z didn't undo anything. On the contrary, it added an extra "w" at the end.
Expected:
<span class="quote">> |</span >
Console is empty, Command Z removed the entire word. This is how it works in Xcode and any other code editor I have encountered.</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>