~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/core/Mono.Texteditor/SyntaxModes/JsonSyntaxMode.xml

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
        </Span>
33
33
        
34
34
        <Rule name = "Object">
35
 
                <Span rule="String" color="keyword.semantic.type" escape='\'>
 
35
                <Span rule="Object">
 
36
                        <Begin>{</Begin>
 
37
                        <End>}</End>
 
38
                </Span>
 
39
 
 
40
                <Span rule="String" color="User Types" escape='\'>
36
41
                        <Begin>"</Begin>
37
42
                        <End>"</End>
38
43
                </Span>
39
 
                <Span rule="Value">
 
44
                
 
45
                <Span rule="Value" tagColor="Plain Text">
40
46
                        <Begin>:</Begin>
41
47
                        <Exit>,|}</Exit>
42
48
                </Span>
44
50
        
45
51
        <Rule name = "Value">
46
52
                <!-- array -->
47
 
                <Span color = "keyword.type" rule="Value">
 
53
                <Span rule="Value">
48
54
                        <Begin>[</Begin>
49
55
                        <End>]</End>
50
56
                </Span>
52
58
                        <Begin>{</Begin>
53
59
                        <End>}</End>
54
60
                </Span>
55
 
                <Span color = "string" rule="String" escape='\'>
 
61
                <Span color = "String" rule="String" escape='\'>
56
62
                        <Begin>"</Begin>
57
63
                        <End>"</End>
58
64
                </Span>
59
65
                <!-- this isn't quite accurate, the JSON number format is a subset of the C# format -->
60
 
                <Match color = "constant.number">
 
66
                <Match color = "Number">
61
67
                        CSharpNumber
62
68
                </Match>
63
 
                <Keywords color = "constant.language">
 
69
                <Keywords color = "Keyword(Constants)">
64
70
                        <Word>true</Word>
65
71
                        <Word>false</Word>
66
72
                        <Word>null</Word>