StackOverflowException when using TextPointer.GetLineStartPosition in RichTextBox_TextChanged event
I have a RichTextBox (RTB) and next to it a DataGrid (DG). A user can paste a list of IDs into the RTB to perform some bulk actions on them. In order that users can be aware if an ID they passed into …