Looking for a free source code display control

S

sklett

I have a need to display c source in my application. It doesn't need to be
editable, just nicely formatted with syntax coloring, etc. I've looked at
ScintillaNET but it seems like it might be a little heavy duty for what I'm
after. I know I can use a rich edit control and format myself and I might,
but I thought I would check here to see if anyone else knows of a light
weight control that simple does syntax highlighting.

Thanks for any suggestions,
Steve
 
R

rossum

I have a need to display c source in my application. It doesn't need to be
editable, just nicely formatted with syntax coloring, etc. I've looked at
ScintillaNET but it seems like it might be a little heavy duty for what I'm
after. I know I can use a rich edit control and format myself and I might,
but I thought I would check here to see if anyone else knows of a light
weight control that simple does syntax highlighting.

Thanks for any suggestions,
Steve
It might be easier to find something to convert C source to
highlighted HTML, rather than RTF, and display the result in a
WebBrowser.

rossum
 
S

sklett

Hm, that is a good idea. I've seen several great HTML code formatters.
Thanks for the idea!
-Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top