I have winforms RichTextBox containing many lines of text (e.g. 2 MB text files) and would like to programmatically change the formatting of the specified lines, for example, select them.
How can I address strings, not characters? Is RichTextBox even the best control for this kind of thing, or is there another alternative? I tried Infragistics UltraFormattedTextEditor, but it was several orders of magnitude slower to display text, so nothing good for my longer files.
Thanks!
string c # controls winforms
Joel in GΓΆ
source share