DocumentUndoManagerRegistry.getDocumentUndoManager(
IDocument document)
Returns the file buffer managed for the given location or null
if there is no such file buffer.
IDocumentUndoManager.transferUndoHistory(
IDocumentUndoManager manager)
Transfers the undo history from the specified document undo manager to
this undo manager.