Made  possible to handle event after text was pasted using right button ...

...of mouse.