![Avatar](https://secure.gravatar.com/avatar/469b0122279e381a024b2cb3abe4f056.jpg?s=64&d=identicon&r=g)
I use document.UndoRedo.StartGroup(DocumentModificationType.AutoReplace,ts.Token.TextRange); to replace text on the document top.
I scroll down way past the replaced text then press undo button which does undo the textrange but the caret does not goto the undone action.
How can I tell the caret to scrolltoview to the last undo/redo action?