<p dir="auto">given the following json code on editor (the pipeline <kbd>|</kbd> represents cursors position)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="collections : {&quot;profile&quot;: 'data.json', &quot;users&quot;:[ |
]}"><pre class="notranslate"><code class="notranslate">collections : {"profile": 'data.json', "users":[ |
]}
</code></pre></div>
<p dir="auto">if I press <kbd>ctrl</kbd> + <kbd>delete</kbd> I would expect the code to look like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="collections : {&quot;profile&quot;: 'data.json', &quot;users&quot;:[ | ]}"><pre class="notranslate"><code class="notranslate">collections : {"profile": 'data.json', "users":[ | ]}
</code></pre></div>
<p dir="auto"><em>NOT</em> like this</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="collections : {&quot;profile&quot;: 'data.json', &quot;users&quot;:[ |"><pre class="notranslate"><code class="notranslate">collections : {"profile": 'data.json', "users":[ |
</code></pre></div>
<p dir="auto"><em>Conclusion</em></p>
<p dir="auto">the shortcut should only delete the white space not any other characters IMO, I may be wrong though and this may be down to preference, but I know most editors have this behaviour.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/440132/4870418/ed6416ca-6167-11e4-99e6-4166a63ff9c4.gif"><img src="https://cloud.githubusercontent.com/assets/440132/4870418/ed6416ca-6167-11e4-99e6-4166a63ff9c4.gif" alt="rev-del-bug" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">Atom 0.141.0, Mac OS 10.9.5. When using <code class="notranslate">alt-delete</code> to delete to end of word, I feel like the natural thing should be to erase all the whitespace in one stop, without removing any visible characters. As you can see above, if I wanted to eliminate a bunch of whitespace by hitting <code class="notranslate">alt-delete</code>, it eats up some of the code in the process.</p>