File tree 1 file changed +26
-14
lines changed
ICSharpCode.AvalonEdit/Highlighting/Resources
1 file changed +26
-14
lines changed Original file line number Diff line number Diff line change 10
10
<Color name =" Punctuation" foreground =" Black" />
11
11
12
12
<RuleSet name =" String" >
13
- <Span begin =" \\" end =" ." />
13
+ <Span begin =" \\" end =" ." />
14
14
</RuleSet >
15
15
16
16
<RuleSet name =" Object" >
22
22
<Begin >'</Begin >
23
23
<End >'</End >
24
24
</Span >
25
- <Span color =" Punctuation" ruleSet =" Expression" >
25
+ <Span color =" Punctuation" ruleSet =" Expression" multiline = " true " >
26
26
<Begin >:</Begin >
27
+ <End >(?= [,}] )</End >
27
28
</Span >
28
- <Span color =" Punctuation" >
29
- < Begin >,</ Begin >
30
- </Span >
29
+ <Rule color =" Punctuation" >
30
+ ,
31
+ </Rule >
31
32
</RuleSet >
32
33
33
34
<RuleSet name =" Array" >
34
- <Import ruleSet =" Expression" />
35
- <Span color =" Punctuation" >
36
- < Begin >,</ Begin >
37
- </Span >
35
+ <Import ruleSet =" Expression" />
36
+ <Rule color =" Punctuation" >
37
+ ,
38
+ </Rule >
38
39
</RuleSet >
39
40
40
41
<RuleSet name =" Expression" >
41
- <Keywords color =" Bool" >
42
+ <Keywords color =" Bool" >
42
43
<Word >true</Word >
43
44
<Word >false</Word >
44
45
</Keywords >
45
- <Keywords color =" Null" >
46
+ <Keywords color =" Null" >
46
47
<Word >null</Word >
47
48
</Keywords >
48
49
<Span color =" String" ruleSet =" String" >
62
63
<End >\]</End >
63
64
</Span >
64
65
<Rule color =" Number" >
65
- \b0[xX][0-9a-fA-F]+|(\b\d+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?
66
+ -? \b
67
+ (?:
68
+ 0[xX][0-9a-fA-F]+
69
+ |
70
+ (?:
71
+
72
+ [0-9]+ (?: \. [0-9]+ )?
73
+ |
74
+ \. [0-9]+
75
+ )
76
+ (?: [eE] [+-]? [0-9]+ )?
77
+ )
66
78
</Rule >
67
79
</RuleSet >
68
80
69
81
<RuleSet >
70
- <Import ruleSet =" Expression" />
82
+ <Import ruleSet =" Expression" />
71
83
</RuleSet >
72
- </SyntaxDefinition >
84
+ </SyntaxDefinition >
You can’t perform that action at this time.
0 commit comments