|
2 | 2 | <SyntaxDefinition name="C#" extensions=".cs" xmlns="http://icsharpcode.net/sharpdevelop/syntaxdefinition/2008"> |
3 | 3 | <!-- The named colors 'Comment' and 'String' are used in SharpDevelop to detect if a line is inside a multiline string/comment --> |
4 | 4 | <Color name="Comment" foreground="Green" exampleText="// comment" /> |
5 | | - <Color name="String" foreground="Blue" exampleText="string text = "Hello, World!""/> |
| 5 | + <Color name="String" foreground="Yellow" exampleText="string text = "Hello, World!""/> |
6 | 6 | <Color name="StringInterpolation" foreground="Black" exampleText="string text = $"Hello, {name}!""/> |
7 | | - <Color name="Char" foreground="Magenta" exampleText="char linefeed = '\n';"/> |
| 7 | + <Color name="Char" foreground="Yellow" exampleText="char linefeed = '\n';"/> |
8 | 8 | <Color name="Preprocessor" foreground="Green" exampleText="#region Title" /> |
9 | 9 | <Color name="Punctuation" exampleText="a(b.c);" /> |
10 | 10 | <Color name="ValueTypeKeywords" fontWeight="bold" foreground="Red" exampleText="bool b = true;" /> |
11 | 11 | <Color name="ReferenceTypeKeywords" foreground="Red" exampleText="object o;" /> |
12 | | - <Color name="MethodCall" foreground="MidnightBlue" fontWeight="bold" exampleText="o.ToString();"/> |
13 | | - <Color name="NumberLiteral" foreground="DarkBlue" exampleText="3.1415f"/> |
| 12 | + <Color name="MethodCall" foreground="#7a82da" fontWeight="bold" exampleText="o.ToString();"/> |
| 13 | + <Color name="NumberLiteral" foreground="#ff78f8" exampleText="3.1415f"/> |
14 | 14 | <Color name="ThisOrBaseReference" fontWeight="bold" exampleText="this.Do(); base.Do();"/> |
15 | 15 | <Color name="NullOrValueKeywords" fontWeight="bold" exampleText="if (value == null)"/> |
16 | | - <Color name="Keywords" fontWeight="bold" foreground="Blue" exampleText="if (a) {} else {}"/> |
17 | | - <Color name="GotoKeywords" foreground="Navy" exampleText="continue; return null;"/> |
18 | | - <Color name="ContextKeywords" foreground="Navy" exampleText="var a = from x in y select z;"/> |
| 16 | + <Color name="Keywords" fontWeight="bold" foreground="#2753A6" exampleText="if (a) {} else {}"/> |
| 17 | + <Color name="GotoKeywords" foreground="#263CB8" exampleText="continue; return null;"/> |
| 18 | + <Color name="ContextKeywords" foreground="#263CB8" exampleText="var a = from x in y select z;"/> |
19 | 19 | <Color name="ExceptionKeywords" fontWeight="bold" foreground="Teal" exampleText="try {} catch {} finally {}"/> |
20 | 20 | <Color name="CheckedKeyword" fontWeight="bold" foreground="DarkGray" exampleText="checked {}"/> |
21 | 21 | <Color name="UnsafeKeywords" foreground="Olive" exampleText="unsafe { fixed (..) {} }"/> |
22 | | - <Color name="OperatorKeywords" fontWeight="bold" foreground="Pink" exampleText="public static implicit operator..."/> |
| 22 | + <Color name="OperatorKeywords" fontWeight="bold" foreground="#205299" exampleText="public static implicit operator..."/> |
23 | 23 | <Color name="ParameterModifiers" fontWeight="bold" foreground="DeepPink" exampleText="(ref int a, params int[] b)"/> |
24 | 24 | <Color name="Modifiers" foreground="Brown" exampleText="static readonly int a;"/> |
25 | | - <Color name="Visibility" fontWeight="bold" foreground="Blue" exampleText="public override void ToString();"/> |
| 25 | + <Color name="Visibility" fontWeight="bold" foreground="#357FD3" exampleText="public override void ToString();"/> |
26 | 26 | <Color name="NamespaceKeywords" fontWeight="bold" foreground="Green" exampleText="namespace A.B { using System; }"/> |
27 | 27 | <Color name="GetSetAddRemove" foreground="SaddleBrown" exampleText="int Prop { get; set; }"/> |
28 | 28 | <Color name="TrueFalse" fontWeight="bold" foreground="DarkCyan" exampleText="b = false; a = true;" /> |
|
0 commit comments