Added events for diffviewer

Signed-off-by: Slava Zanko <slavazanko@gmail.com>