Look at the SyntaxEditor from
http://www.actiprosoftware.com/
It is used in various freeware apps like SnippetCompiler
(
http://www.sliver.com/dotnet/SnippetCompiler/)
and I believe it is used in SharpDevelop
(
http://www.icsharpcode.com/OpenSource/SD/Default.aspx) and CodeSmith
(
http://www.codesmithtools.com).
--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog:
http://bphillips76.spaces.live.com
"(E-Mail Removed)" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed):
> I have a program where the user inputs some proprietary code in an
> editor. I would like to use a windows form editor control that
> automatically does syntax highlighting & intellisense (after I define
> the vocabulary).
>
> 1) How would I do that myself? Any tips and/or links?
> 2) Are there any open source projects that offer this functionality?
> 3) What commercial products do offer this (at a reasonable price)?
>
> Thanks