Undo / Redo for Event Editor

Description of the Feature:
  • Just a normal Undo/redo.

Code for Implementation:

Mockups: Just a shortcut key (ctrl + z);

Why is this feature good?
This feature is great because of the following:
  • No worries about what event command you've been deleted.
  • No more copying of an certain event before editing it (If too much long).

Possible issues with this feature?
Issues that might arise from this feature:
  • Maybe there's something wrong if undo/redo for event page or undo/redo for event commands.
Yes. Please. There's nothing worse than deleting a big pile of event then realising that you'd highlighted the wrong part (or all of it!) by accident and lost progress. God forbid if it was a lot of dialogue that you agonised over before getting it perfect. And then, gone. Just gone.
Yes, please do this! Don't know why it's not already a thing! XP
Agreed. About every program under the sun has an redo button but RPGMaker now.
Oh my word would this be useful!
Doesn't CTRL + Z or CTRL + ALT + Z and CTRL + SHIFT + Z do this already?
I swear it did... just no menu functions for it.
CTRL+Z will go back a step for mapping, but not in events, sadly. I've deleted part of an event before only to realise I accidentally added something else to that that I didn't want to delete, or accidentally hit delete when grabbing something on my desk and oops, there goes a command I needed!
Also, for database stuff. Accidentally delete the wrong item? lolnoreturn
@Ksi But you can just close the event window without saving changes if you deleted more than you made. 😛
Right, so we should make a ton of changes to an event and then accidentally delete half? It doesn't save automatically - it'll jump back to when you last saved, so unfortunately, that's not a fix.
@Ksi Of course it's not a fix, I'm just saying it's there if you accidentally delete something first thing. 😛 And if you already have event block A, and you make event block B, but accidentally delete event block A, you can copy event block B, close without saving, reopen, and paste. 😛 Now of course, I'm not against this feature, better undo/redo is sorely needed in MV, I'm just saying what you can do as a kind of alternative. 😛

Original thread: https://forums.rpgmakerweb.com/threads/undo-redo-for-event-editor.74721/