I have a textview and when something is pasted into it from the clipboard I need to intercept that text and do some preprocessing on it before it ends up in the textview.
I've tried listening to the "PasteClipboard" event which doesn't give me a way to modify the incoming text. and the "textview.Buffer.Changed" event which fires after the pasted text makes it into the textview.
Thanks in advance.