Making a multicolored TextBox?
I noticed that Windows's RichTextBox supports making the selected text any color. I'm trying to get a better understanding of how it might be doing this at a low level. Could it be storing each char's c开发者_如何学JAVAolor, or might there be a better way (since removal and random insertion must be considered.
Thanks
It stores the text in the RTF format.
精彩评论