Ticket #3209: fix crash when file(s) deleting.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Merge branch '3209_delete_crash'

* 3209_delete_crash:
  Ticket #3209: fix crash when file(s) deleting.
Ticket #3204: As user, I want to use own default colors for viewer.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Merge branch '3204_viewer_default_color'

* 3204_viewer_default_color:
  Ticket #3204: As user, I want to use own default colors for viewer.
Ticket #???. Reorganize event mass init process

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Added events for diffviewer

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Change parameters for event callback.
Add new parameter: placeholder for errors.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Move macro-related code to different files

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Added events for editor

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Add placeholder for return values from any of event handler.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Added events for Treeview

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Added new keymap implementation

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Add events for filemanager.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Add events for core (incomplete yet)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
fixup! Add events for core (incomplete yet)