This repository was archived by the owner on Sep 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,13 @@ namespace MonoDevelop.Xml.Editor
30
30
static class XmlContentType
31
31
{
32
32
[ Export ]
33
- [ Name ( XmlContentTypeNames . Xml ) ]
33
+ [ Name ( XmlContentTypeNames . XmlCore ) ]
34
34
[ BaseDefinition ( StandardContentTypeNames . Code ) ]
35
+ public static readonly ContentTypeDefinition XmlCoreContentTypeDefinition = null ;
36
+
37
+ [ Export ]
38
+ [ Name ( XmlContentTypeNames . Xml ) ]
39
+ [ BaseDefinition ( XmlContentTypeNames . XmlCore ) ]
35
40
public static readonly ContentTypeDefinition XmlContentTypeDefinition = null ;
36
41
37
42
[ Export ]
@@ -63,6 +68,5 @@ static class XmlContentType
63
68
[ FileExtension ( ".xsd" ) ]
64
69
[ ContentType ( XmlContentTypeNames . Xsd ) ]
65
70
internal static FileExtensionToContentTypeDefinition XsdFileExtensionDefinition = null ;
66
-
67
71
}
68
72
}
Original file line number Diff line number Diff line change 1
- //
1
+ //
2
2
// Copyright (C) Microsoft Corp. All rights reserved.
3
3
//
4
4
// Permission is hereby granted, free of charge, to any person obtaining
@@ -25,6 +25,12 @@ namespace MonoDevelop.Xml.Editor
25
25
{
26
26
public static class XmlContentTypeNames
27
27
{
28
+ /// <summary>
29
+ /// Content types that derive from this will inherit some basic functionality
30
+ /// without lighting up the full XML editor.
31
+ /// </summary>
32
+ public const string XmlCore = "xmlcore" ;
33
+
28
34
public const string Xml = "xml" ;
29
35
public const string Xslt = "xslt" ;
30
36
public const string Xsd = "xsd" ;
You can’t perform that action at this time.
0 commit comments