<p dir="auto"><em>(I am able to reproduce this in safe mode in latest Atom 0.175.0)</em></p>
<p dir="auto">Not always, but quiet often, I have partial selection left behind when I select a portion of code on one line and then start typing hoping to replace the selected chars. When I type my first char, this causes selection jump to the characters on the right and they get deleted when I type the second char. For example, I have this <code class="notranslate">test.js</code> file:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="  var where = _.pick({
    classified_id: query.classId,
    section_id: query.secId,
    category_id: query.catId
  }, function(val, key) {
    console.log('  **** val:', val);
    console.log('  **** key:', key);
    return !_.isUndefined(val);
  });"><pre class="notranslate">  <span class="pl-k">var</span> <span class="pl-s1">where</span> <span class="pl-c1">=</span> <span class="pl-s1">_</span><span class="pl-kos">.</span><span class="pl-en">pick</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
    <span class="pl-c1">classified_id</span>: <span class="pl-s1">query</span><span class="pl-kos">.</span><span class="pl-c1">classId</span><span class="pl-kos">,</span>
    <span class="pl-c1">section_id</span>: <span class="pl-s1">query</span><span class="pl-kos">.</span><span class="pl-c1">secId</span><span class="pl-kos">,</span>
    <span class="pl-c1">category_id</span>: <span class="pl-s1">query</span><span class="pl-kos">.</span><span class="pl-c1">catId</span>
  <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">val</span><span class="pl-kos">,</span> <span class="pl-s1">key</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
    <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'  **** val:'</span><span class="pl-kos">,</span> <span class="pl-s1">val</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
    <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'  **** key:'</span><span class="pl-kos">,</span> <span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
    <span class="pl-k">return</span> <span class="pl-c1">!</span><span class="pl-s1">_</span><span class="pl-kos">.</span><span class="pl-en">isUndefined</span><span class="pl-kos">(</span><span class="pl-s1">val</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
  <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">To replicate:</p>
<ol dir="auto">
<li>Select a portion of code on any line with a mouse or a touchpad. Release the mouse button.</li>
<li>Switch to keyboard and press the space bar</li>
<li>You should see that the selected chars were deleted, but some of the chars on the right are selected now too.</li>
<li>Press space bar again, and those extra selected chars get deleted</li>
<li>Do steps 1 and 2 a few times if you can't replicate it on first time.</li>
</ol>
<p dir="auto">This is a real pain since I always have to do <code class="notranslate">Command + Z</code> to undo  these side effects. Sometimes, I don't notice it and my code no longer runs.</p>
<p dir="auto">When I select some text and then paste something instead of it, sometimes I get random piece of the pasted text being selected. Look at the screencast:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/7574192/5847084/71d1d11a-a1da-11e4-93f3-d76f59c67e5c.gif"><img src="https://cloud.githubusercontent.com/assets/7574192/5847084/71d1d11a-a1da-11e4-93f3-d76f59c67e5c.gif" alt="atom_paste_instead_selection" data-animated-image="" style="max-width: 100%;"></a><br>
Here I'm selecting pieces of text and pasting some other text. In one of three times it results in a part of the pasted text being selected.</p>
<p dir="auto">It leads to some inconvenience in my work. After I replace selected text with text from the clipboard, I should check whether something is selected before I type anything (because the text I'm typing will replace the selection).</p>
<p dir="auto">The same when I start typing while some text is selected. The typed symbol replaces the selection, but sometimes it becomes selected itself. So when I type the second symbol, it replaces the first one.</p>
<p dir="auto">The behaviour which I observe in other text editors is: replace selected text with pasted/typed one, deselect anything, place the cursor after the pasted text. This is the most convenient option, I guess.</p>
<p dir="auto">My Atom version is 0.175.0 (and I've observed it in all previous versions), my system - OS X 10.9.5.</p>