Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Fix multi cursor undo - #8506

Merged
maxbrunsfeld merged 4 commits into
masterfrom
mb-fix-multi-cursor-undo
Aug 25, 2015
Merged

maxbrunsfeld merged 4 commits into
masterfrom
mb-fix-multi-cursor-undo

Conversation

@maxbrunsfeld

Copy link
Copy Markdown
Contributor

Fixes #8178
Depends on atom/text-buffer#92

  • Merge the text-buffer PR, publish a new minor version of text-buffer, and upgrade Atom to use that.

Now, during undo/redo overlapping selections will be temporarily
created as markers are created via snapshots. Old selections will
immediately be destroyed though, since undo/redo now completely
replace all historied markers w/ those in the snapshot, so there
is no need to merge selections.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/cc @nathansobo to get this test to pass, I just removed some assertions. I felt that this test has become less important now that there is not such a delicate interaction between the timing of display-buffer change events and marker change events.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

maxbrunsfeld pushed a commit that referenced this pull request Aug 25, 2015
@maxbrunsfeld
maxbrunsfeld merged commit 67fd9cf into master Aug 25, 2015
@maxbrunsfeld
maxbrunsfeld deleted the mb-fix-multi-cursor-undo branch August 25, 2015 19:09
@nathansobo

Copy link
Copy Markdown
Contributor

Excellent work. I love when making it better on the outside also makes it better on the inside.

nathansobo pushed a commit that referenced this pull request Sep 2, 2015
This reverts commit 67fd9cf, reversing
changes made to 5f7a0a3.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants