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.
The use cases are: - During multiple mutations transaction client code might need control to rollback the model to the state before beginTransaction is called. - Refactoring UI need to start mutations just to get the source of the model as if refactored, then rollback to original state. The rollback should also preserve the undo queue.
Created attachment 42482 [details] Proposed rollbackTransaction() implementation; needs unitests.
Created attachment 42483 [details] Patch for getCurrentDocumentText()
Created attachment 42623 [details] minor adjustment to xam.patch