Ticket #3225: first Backspace/Delete ignored after mouse click in an input widget.

Initial commit: WInput: refactoring of text marking.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(input_event): fix handling of first mouse click.
Merge branch '3225_input_bs_del_after_mouse_click'

* 3225_input_bs_del_after_mouse_click:
  (input_event): fix handling of first mouse click.
  Ticket #3225: first Backspace/Delete ignored after mouse click in an input widget.
Ticket #3237: fish subshell pwd passing is broken.

Use $PWD variable instead of of calling pwd (which can be a function)
since it is read-only and not manipulated.

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

* 3237_fish_pwd:
  Ticket #3237: fish subshell pwd passing is broken.
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>