I'm using the AvalonEdit text editor for a project in WPF and I need to change the syntax colors of a language.
I installed the Nuget package and wrote xmlns:avalonEdit="http://icsharpcode.net/sharpdevelop/avalonedit"
in the XAML of the MainWindow.
<avalonEdit:TextEditor Foreground="White" SyntaxHighlighting="PHP" ShowLineNumbers="True" FontSize="16">
How can I change the colors of a language? I saw some files in the AvalonEdit Sample demo folder "ICSharpCode.AvalonEdit\Highlighting\Resources", but I dont Know how to use them.