I\'m currently looking for a Syntax highlighter for a WPF application. A textbox will be available for the user to type into which would hopefully recognise code and highli
Some time ago i've found this blog post with a tutorial on how to create a custom syntax highlight control from a RichTextBox. Maybe it could be usefull for you too.
I was looking for the same thing without success. Only solution I found is Actipro's Syntax Highlighter for WinForms that can be hosted in WPF application. AFAIK Actipro is working on WPF version but I don't know if it ready or not
I think this question has your answer.
Anyone know a code editor I can embed in a WPF window or Windows forms?
Or you can write one yourself: http://blogs.microsoft.co.il/blogs/tamir/archive/2006/12/14/RichTextBox-syntax-highlighting.aspx
If you do not mind having no documentation whatsoever, AvalonEdit is a good choice. I am currently using for a project, and it is a great tool. I have not encountered a single bug even in complex scenarios.