Closed Cruix closed 7 years ago
you are a god.
You mean keeping a copy of the entire map for every single change that is made? That seems a bit excessive.
No, keeping only the changes to the map (location (1,1) used to point to "aa" now it points to "bb") and the meanings of the keys referenced before and after the change.
Sure, it uses a bit of extra memory but it's not like we don't have a fuckton of it
And thats how bloatware happens.
Keeping a copy of the entire map will make its a memory gun and make it slow, how about a diff for each action instead ?
how about a diff for each action instead ?
That is literally what I've been suggesting the whole time.....
@monster860 @Cruix can you guys do this
I don't like the way this change is implemented.
Closes #38
Added undo and redo for the following operations:
At the moment, moving a selection is considered two operations: pasting the selection to the new place, and removing it from the old place.
The only way to use undo and redo is to use the dropdown menu. No hotkeys yet.