Highlighter Syntax for WPF

I am currently looking for a syntax shortcut for a WPF application. The text field will be available for user input, in which, we hope, will recognize the code and highlight the syntax, respectively.

I would like to continue supporting the starting and starting C # languages.

Duplicate of Question 394751

+7
syntax syntax-highlighting wpf
source share
4 answers

I think this question has your answer.

Does anyone know a code editor that I can embed in a WPF window or windows form?

Or you can write one yourself: http://blogs.microsoft.co.il/blogs/tamir/archive/2006/12/14/RichTextBox-syntax-highlighting.aspx

+12
source share

Some time ago, I found this blog post with a tutorial on how to create a custom syntax control from RichTextBox. Perhaps this may also be useful to you.

+2
source share

If you don't mind having any documentation, AvalonEdit is a good choice. I am currently using a project and it is a great tool. I have not seen a single error even in complex scenarios.

+1
source share

I searched the same without success. The only solution I found was Actipro Highlighter Syntax for WinForms, which can be hosted in a WPF application. AFAIK Actipro is working on a version of WPF, but I don’t know if it is ready or not.

0
source share

All Articles