Steps to reproduce:
1. Select text across multiple lines in a TextArea
2. Click button to modify the text using a TextRange object.
3. Repeat steps 1 & 2 w/ same selected text
Actual Results:
Works just fine the first time. But if you select the text again across multiple lines it distorts the text.
(see attached file)
Expected Results:
Only the selected text should be changed or in the case of attached files nothing should happen.
Workaround (if any):