<p dir="auto">I wrote a package: <a href="https://atom.io/packages/joe-keybinds" rel="nofollow">https://atom.io/packages/joe-keybinds</a> (github: <a href="https://github.com/iarna/atom-joe">https://github.com/iarna/atom-joe</a>) and when I use the move operation it provides (<a href="https://github.com/iarna/atom-joe/blob/master/lib/joe.coffee#L56-L67">https://github.com/iarna/atom-joe/blob/master/lib/joe.coffee#L56-L67</a>) and then undo it with Cmd-Z, the resulting <em>display</em> of the buffer is corrupted. I can tell that the underlying buffer is fine because saving and reloading shows the undo occurred correctly. The display corruption shows duplicated lines where there are none, and things like what constitutes the end of the line no longer match the display.</p>
<p dir="auto">The move operation uses <code class="notranslate">transact</code> to combine of the pieces of the move operation into a single undoable chunk.</p>
<p dir="auto">This should be a simple bug fix.</p>
<p dir="auto">When deleting a file, or folder,in Atom it appears to not do anything. You still see the file, or folder, sitting there. What you have to do to update the change, is close the parent folder, and open it back up to refresh the changes.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="projectname
- images
   - image1.png
   - image2.png"><pre class="notranslate"><code class="notranslate">projectname
- images
   - image1.png
   - image2.png
</code></pre></div>
<p dir="auto">If you delete for example 'image2.png', it stays there. Click the arrow on the 'images' folder to collapse the folder in the tree view, and again to expand it, and it will show the file is now gone.</p>
<p dir="auto">When you delete a file, it should call the same refresh action as expanding does, to reflect the changes immediately.</p>
<p dir="auto">This happens when deleting both files and folders. You have to manually close and open the parent folder to reflect the changes.</p>