You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Position of cursor after undo+redo is incorrect #6915
I generally do undo+redo as a way do go back to my last edit that works in any editor, but it working differently in Atom makes Atom inconvenient to use for me.
I'm guessing the cursor is put back to where it was because of how cursors and selections are handled in general with undo/redo snapshots -- e.g. if you edited something and selected some text after that, then an undo+redo will not only undo+redo the edit but also restore the selection. /cc @maxbrunsfeld who knows more about these things I believe 🏄
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
vincentisambart commentedon May 22, 2015
I generally do undo+redo as a way do go back to my last edit that works in any editor, but it working differently in Atom makes Atom inconvenient to use for me.
below43 commentedon May 26, 2015
Also, when redoing, it's important to see what the redo is. By redoing then jumping to different cursor position, you cannot see what was redone.
izuzak commentedon May 26, 2015
I'm guessing the cursor is put back to where it was because of how cursors and selections are handled in general with undo/redo snapshots -- e.g. if you edited something and selected some text after that, then an undo+redo will not only undo+redo the edit but also restore the selection. /cc @maxbrunsfeld who knows more about these things I believe 🏄
maxbrunsfeld commentedon May 26, 2015
@vincentisambart @below43 You are absolutely right. We'll fix this.
vincentisambart commentedon May 26, 2015
Thank you!
maxbrunsfeld commentedon May 26, 2015
The fix will be in 0.202.
below43 commentedon May 27, 2015
Thanks Max :)
Andrew Drake
On 27 May 2015 at 11:53, Max Brunsfeld [email protected] wrote:
maxbrunsfeld commentedon Jun 5, 2015
A few more fixes were just merged that relate to this bug. They will be in Atom 0.207.
lock commentedon Jan 22, 2019
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!