This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
|Summary:||Restore undo/redo history on open documents when the IDE is restarted as well as when documents are closed and reopened without an IDE restart|
|Component:||-- Other --||Assignee:||Milutin Kristofic <mkristofic>|
|Issue Type:||ENHANCEMENT||Exception Reporter:|
Description sproger1 2016-05-13 16:21:47 UTC
The UndoableEditEvent class is serializable, thus it should be possible to persist undoable edits both between restarts of the IDE as well as when the document is closed and reopened. An issue only arises if the document was edited outside of the IDE, but, this can be mitigated by detecting this situation using a check-sum or the file automatic history feature which already exists. i.e. reload the UndoableEditEvents in the UndoRedoManager unless an external file change is detected. This capability was asked for on StackOverflow: http://stackoverflow.com/questions/37177552/how-to-retain-edit-history-in-netbeans-ide-even-after-system-shut-down-on-window And I couldn't help but agree that this would be a really nice feature to have.