R
Ryan Liu
Then next question is:
I am try to write my own, but is there classes or open src code to handle
RTF format file in C#?
Thanks a million,
Ryan
I am try to write my own, but is there classes or open src code to handle
RTF format file in C#?
Thanks a million,
Ryan
Nicholas Paldino said:Ryan,
You could always write an engine that would parse RTF files and change
the color on the fly. That's the only way I can think of doing it outside
of the RichTextBox.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Ryan Liu said:Hi,
I want to change keywords text color in a text editor. I select
RichTextBox
and use its Select() method to select keywords line by line, one by one,
then change its color.
this.Select(start,length) ;
this.SelectionColor = color ;
But turns out it is very slow for big file. Is there better way to do so?
Thanks a lot in advance!
Ryan