ICSharpCode.TextEditor is a syntax highlighting control for .NET program. It comes from the open source IDE SharpDevelop. It's available under LGPL license.