Set the buffer undo manager.
If manager is null the default undo manager will be set.
manager
null
a SourceBuffer.
A SourceUndoManager or null.