Add events to undo manager
Add documentation for undo manager events
Merge pull request #1198 from Stuk/undo-manager-delegate

Add events to undo manager