views:

958

answers:

3

Are there any winforms source code editor controls available with color coding ? pref. open source

I seem to recall having come across something like that previously but can't seem to recall it ?

+2  A: 

Visual Studio Express?

AaronS
C# codng is best done in Visual Studio Express........:)http://www.microsoft.com/express/
Ganesh R.
is that available as a winforms control ?
Kumar
+1  A: 

SharpDevelop is an open source application that has an editor with color coding. You can check out how they implemented the color coding.

http://www.icsharpcode.net/OpenSource/SD/

ZippyV
Is there a stand-alone portion of the code editor perhaps as a control ?
Kumar
I don't think you can just take their code editor as a control and put it in your project without touching the code. But this link might be a better idea for what you want:http://laputa.sharpdevelop.net/AnnouncingSharpDevelopForApplicationsSDA.aspx
ZippyV
SharpDevelop is LGPL-licensed and has a WinForms control used in SharpDevelop 3.x and a new WPF-based editor called AvalonEdit for SharpDevelop 4 - http://wiki.sharpdevelop.net/AvalonEdit.ashx.
Govert
+3  A: 

I believe that Scintilla is an open source syntax-highlighting editor component. There is an open source .Net wrapper utility on CodePlex.

Bob Mc
This looks good, will try it out !
Kumar
Nice try, but as soon as an Win32Exception occured when disposing the control it wasn't an option anymore. (No: This wasn't the "I forgot to put SciLexer.dll into my PATH" exception!)
rstevens