Skip to content

Rpc.undo and Rpc.redo#457

Merged
iamdefinitelyahuman merged 4 commits intomasterfrom
rpc-undo
Apr 28, 2020
Merged

Rpc.undo and Rpc.redo#457
iamdefinitelyahuman merged 4 commits intomasterfrom
rpc-undo

Conversation

@iamdefinitelyahuman
Copy link
Copy Markdown
Member

What I did

Add rpc.undo and rpc.redo methods. Closes #454

How I did it

  • Rpc._add_to_undo_buffer keeps a record of each transaction, and takes a new snapshot each time a transaction is performed.
  • Rpc.undo and Rpc.redo move through the undo buffer.

How to verify it

Run tests.

@iamdefinitelyahuman iamdefinitelyahuman merged commit 3d810da into master Apr 28, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the rpc-undo branch April 28, 2020 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rpc.undo and rpc.redo

1 participant