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);
 }
示例#2
0
 static XamlEditor()
 {
     DefaultLanguage = SyntaxEditorHelper.LoadLanguageDefinitionFromResourceStream("Xaml.langdef");
 }
示例#3
0
 static LinqEditor()
 {
     DefaultLanguage = SyntaxEditorHelper.LoadLanguageDefinitionFromResourceStream("CSharp.langdef");
 }
示例#4
0
 static JsonEditor()
 {
     DefaultLanguage = SyntaxEditorHelper.LoadLanguageDefinitionFromResourceStream("JScript.langdef");
 }
示例#5
0
 static QueryEditor()
 {
     DefaultLanguage = SyntaxEditorHelper.LoadLanguageDefinitionFromResourceStream("RavenQuery.langdef");
 }