-
-
Notifications
You must be signed in to change notification settings - Fork 204
Description
Let's kick-off the conversation on how to implement an History Manager to handle undo
and redo
actions.
Memory management
The first approach is going the standard route of implementing a memory based history manager, and giving users the ability to define the memory usage limit.
Version control
The other approach we could consider is to save the various actions in a local history file if the user hasn't saved the current project, or save it directly inside the file in case it exists.
This will give us the flexibility to have a potential infinite history without taxing on memory management.
If we decide to go this route, we will need to implement a manual "clear file history" for the user in order to better control the file size. Even adding an option like "Clear file history on shutdown" might be useful.
Thoughts?