TextEditor.TextChanged not triggered when text is pasted

I’m running into an issue where the TextChanged event on the TextEditor is not fired when text is pasted into the editor. Is this by design? If so can you please provide some guidance as to what event I can use to detect pasted text? Thanks.

On my tests, TextEditor.TextChanged did occur when I pasted a string into a WPF TextEditor control. I was doing the tests on AdvancedSyntaxParsing sample with a code like this:

        public MainWindow()
        {
            InitializeComponent();
            model = new ViewModel(syntaxEdit1);
            this.DataContext = model;

            syntaxEdit1.TextChanged += (o, e) =>
            {

            };
}

Could you please specify the exact steps required to reporoduce this?

Also, as a workaround, you can use the following events to detect when the user pastes text into the editor:

            syntaxEdit1.Selection.BeforePaste += (o, e) =>
            {

            };

            syntaxEdit1.Selection.AfterPaste += (o, e) =>
            {

            };