Syntax Highlighting

R

Rob Stevens

Does anyone have any samples on how to do syntax highlighting?

I want to write a small program that will display sources like
c#, c++ etc. But when I load the file to store it in a db, I would
like to be able to see the different colors for the functions etc.

Also, what control would I have to use to be able to paste images
into? Lets say I input a lot of text, and I want to insert some images
with the text also. Which control would that be?


Thanks
 
B

BobF

Have you looked at the IronPython sample?

(( I haven't, but it *might* be worth looking at as it is a full language
implementation ))
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

I do not understand what IronPython has to do with the question

Could you explain further?
 
B

BobF

I thought it might be worthwhile to look at that sample to see how syntax
highlighting was implemented for IP. The IP integration sample in the VS
SDK.

Alternatively, vim is another place to look.
 

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