|Saving vs Undo [message #832945]
||Fri, 30 March 2012 19:26
| Hernan Gonzalez
Registered: October 2010
Location: Buenos Aires, Argentina
Currently (0.9.0, I think) the Editor flushes the command stack when doing a save. This means that after saving the diagram we loose the ability to undo (i.e. to revert to some state before the saving). This is hardly acceptable in most scenarios (I cannot recall any modern editor -text, image, whatever- that does that). |
A comment in EmfService.save() says
// For the time being, we clear the command stack after saving.
// In a later sprint we might try to implement undo/redo
// across save calls (not that easy to handle the ResourceImpl.isModified flag, which is also
// set by save() outside any command).
Anyone has any experience or any tips about this issue?
[Updated on: Fri, 30 March 2012 19:28]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.11784 seconds