Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/addins/Xml/Parser/XmlDocTypeState.cs')
-rw-r--r--main/src/addins/Xml/Parser/XmlDocTypeState.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/main/src/addins/Xml/Parser/XmlDocTypeState.cs b/main/src/addins/Xml/Parser/XmlDocTypeState.cs
index fc8103e8fd..2445422939 100644
--- a/main/src/addins/Xml/Parser/XmlDocTypeState.cs
+++ b/main/src/addins/Xml/Parser/XmlDocTypeState.cs
@@ -27,9 +27,8 @@
//
using System;
-using ICSharpCode.NRefactory.TypeSystem;
-using ICSharpCode.NRefactory;
using MonoDevelop.Xml.Dom;
+using MonoDevelop.Ide.Editor;
namespace MonoDevelop.Xml.Parser
{
@@ -132,7 +131,7 @@ namespace MonoDevelop.Xml.Parser
switch (context.StateTag) {
case 0:
if (c == '[') {
- doc.InternalDeclarationRegion = new DomRegion (context.Location, TextLocation.Empty);
+ doc.InternalDeclarationRegion = new DocumentRegion (context.Location, DocumentLocation.Empty);
context.StateTag = 1;
return null;
}
@@ -143,7 +142,7 @@ namespace MonoDevelop.Xml.Parser
return null;
} else if (c == ']') {
context.StateTag = 0;
- doc.InternalDeclarationRegion = new DomRegion (doc.InternalDeclarationRegion.Begin, context.Location);
+ doc.InternalDeclarationRegion = new DocumentRegion (doc.InternalDeclarationRegion.Begin, context.Location);
return null;
}
break;