I want to move the caret 4 positions to the right of where my caret currently is. I\'m registered for PreviewKeyDown, and calling InsertTextInRun()
PreviewKeyDown
InsertTextInRun()
To test, you could try forcing the movement yourself:
rtb.CaretPosition = rtb.Document.ContentEnd;
If that works, you'll probably have to implement additional logic for situations where the tab is not at the end of the content.