RTF lexer?

May 5, 2009 at 1:34 PM

We have a couple of places in our software where we output the results of some tests to a text box. We are currently using a RichTextBox, but have some issues - so I am wondering about how feasible it would be to switch to Scintilla.NET

I use Scintilla.NET elsewhere, and initially thought it would be easy. However I am a little stuck as to how to get various different bits of output to be formatted. I thought one suggestion would be an RTF lexer, so you could squirt RTF into it and it would be formatted accordingly. Anyone know of an RTF lexer, or have any other suggestions?