public static WpfTextEditor csharp(this WpfTextEditor wpfTextEditor) { wpfTextEditor.SyntaxHighlighting = "C#"; return(wpfTextEditor); }
public static WpfTextEditor html(this WpfTextEditor wpfTextEditor) { wpfTextEditor.SyntaxHighlighting = "HTML"; return(wpfTextEditor); }