views:

36

answers:

2

Is there a Silverlight control out there that will allow you to type in text and have it highlighted as code?

For example:

foreach (client in Clients)
{
   client.Save();
}

would become

foreach (client in Clients)
{
   client.Save();
}

I need to write a web app to screen non-programming programmers without wasting time on them one by one. I am thinking of a Silverlight app that will ask a few simple programming questions with a time limit. After the limit is up, it will send what they have via a web service.

Most of that is quite doable for me, but I would like to be able offer my candidates code highlighting. I am not up to (nor interested in) writing a Silverlight code highlighter.

Any suggestions?

+1  A: 
Klinger
+1  A: 

Actipro Software has a syntax highlighter component for Silverlight, WPF, and Winforms:

http://www.actiprosoftware.com/

chadbr