static QuerySyntaxTextBlock() { Language = SyntaxEditorHelper.LoadLanguageDefinitionFromResourceStream("RavenQuery.langdef"); FieldBrush = new SolidColorBrush(Color.FromArgb(0xff, 0x00, 0x00, 0xcd)); OperatorBrush = new SolidColorBrush(Color.FromArgb(255, 137, 137, 137)); ValueBrush = new SolidColorBrush(Colors.Black); }
static XamlEditor() { DefaultLanguage = SyntaxEditorHelper.LoadLanguageDefinitionFromResourceStream("Xaml.langdef"); }
static LinqEditor() { DefaultLanguage = SyntaxEditorHelper.LoadLanguageDefinitionFromResourceStream("CSharp.langdef"); }
static JsonEditor() { DefaultLanguage = SyntaxEditorHelper.LoadLanguageDefinitionFromResourceStream("JScript.langdef"); }
static QueryEditor() { DefaultLanguage = SyntaxEditorHelper.LoadLanguageDefinitionFromResourceStream("RavenQuery.langdef"); }