Is there any way to capture the paste event in an AvalonEdit text editor so that the data can be modified?
We are having users paste data from Excel, and for some reason that data is showing up with an extra newline. This means that if they paste while block-selecting it throws off the last line.
Ideally I'd like to catch the paste event, modify the contents to either remove the newline or format it differently, and then deliver the modified event... I just can't find where the paste handler might be (if it's exposed at all) in the TextEditor or TextView.