Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Undo/Redo #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
kuychaco merged 5 commits into master from mkt-undo-redo
Jun 4, 2016
Merged

Undo/Redo #63

kuychaco merged 5 commits into master from mkt-undo-redo
Jun 4, 2016

Conversation

@BinaryMuse
Copy link
Member

@BinaryMuse BinaryMuse commented May 31, 2016
edited by kuychaco
Loading

Fixes #56
Fixes #58

Doesn't currently work correctly with async commands:

  • (削除) cherry-pick (削除ここまで)
  • (削除) rebase (削除ここまで)
  • (削除) revert (削除ここまで)
  • (削除) log (削除ここまで)

Copy link
Member Author

One idea for making this work with async stuff is moving the state serialization to just before a command executes rather than just after. This does introduce some more complexity into managing the undo stack.

Copy link
Member Author

@kuychaco Implemented this with the event solution we discussed. Care to 👀 ?

Copy link
Member

kuychaco commented Jun 4, 2016

Looks great! :shipit:

@kuychaco kuychaco merged commit bb86885 into master Jun 4, 2016
@kuychaco kuychaco deleted the mkt-undo-redo branch June 4, 2016 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /