❔ Typing whitespace creates 2 more after parsing RTF from RichTextBox and then re-applying it
Lets say i press space between 2 words. When i parse the RTF and then re apply it, i get 2 more spaces so 3 in total. When i remove spaces nothing crazy happens. This happens only when i type them. Though when i type a whitespace in the end of the sentence and THEN i type a word everything is fine. This only happens when i type whitespaces between 2 already existing words/characters. What is going on here?
5 Replies
The RTF of the sentence "This is a test" when everything is normal:
The RTF after i add a whitespace between "a" and "test"
It becomes "This is a test"
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.