For a TextBox, it seems that count will always be 1, since a TextBox cannot contain anything but characters.
But I found this search for answers regarding TextChange, and just want to let others know that TextChange.Changes.Count can be more than 1 when used with RichTextBox.
This result can be a bit confusing.
If you are just learning how to work with this, keep in mind that whether you enter a single character or insert multiple lines, Count may be 1.
But a change in a font family can include several changes; in fact, it seems that for 1 selected word, the changed font family is applied. However, on the other hand, changes to Font Size, Underline, Bold, or Italics can result in Count = 0.
With RichTextBox, TextChange is the result of a character change, not a character change. So you can insert βHello To All The Worldβ and get one TextChange, because it is one text element containing nested text.
source share