<p dir="auto">Moving a file using the <code class="notranslate">mv</code> command while it is open in atom causes it to show the following error-message.</p>
<p dir="auto"><code class="notranslate">Uncaught TypeError: Cannot call method 'getScreenRow' of undefined /usr/local/share/atom/resources/app/src/editor.js:1311</code></p>
<p dir="auto">Version/Platform:<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/atom/atom/commit/eaeb5b3b13c4627c249f3687a60033ed634c3385/hovercard" href="https://github.com/atom/atom/commit/eaeb5b3b13c4627c249f3687a60033ed634c3385"><tt>eaeb5b3</tt></a><br>
<code class="notranslate">Linux luto-portable 3.14.4-1-ARCH #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014 x86_64 GNU/Linux</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="echo 1 &gt; a.txt
atom a.txt &amp;
sleep 2s
mv a.txt b.txt"><pre class="notranslate"><code class="notranslate">echo 1 &gt; a.txt
atom a.txt &amp;
sleep 2s
mv a.txt b.txt
</code></pre></div>
<h2 dir="auto">Repro Steps</h2>
<ol dir="auto">
<li>Open Atom</li>
<li>Create file <code class="notranslate">foo.md</code></li>
<li>Highlight file in tree view</li>
<li>Press Delete button</li>
<li>Click "Delete" option (not "Move to Trash")</li>
</ol>
<p dir="auto"><strong>Expected:</strong> No error occurs<br>
<strong>Actual:</strong> Exception happens:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught TypeError: Cannot call method 'getScreenRow' of undefined 

/Applications/Atom.app/Contents/Resources/app/src/editor.js:1311"><pre lang="text" class="notranslate"><code class="notranslate">Uncaught TypeError: Cannot call method 'getScreenRow' of undefined 

/Applications/Atom.app/Contents/Resources/app/src/editor.js:1311
</code></pre></div>