16 changed files with 103 additions and 68 deletions
@ -1,17 +0,0 @@
@@ -1,17 +0,0 @@
|
||||
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||
|
||||
using System; |
||||
using ICSharpCode.SharpDevelop; |
||||
using ICSharpCode.SharpDevelop.Dom; |
||||
|
||||
namespace ICSharpCode.XmlEditor |
||||
{ |
||||
public class DefaultParserService : IParserService |
||||
{ |
||||
public ParseInformation GetExistingParseInformation(IProjectContent content, string fileName) |
||||
{ |
||||
return ParserService.GetExistingParseInformation(content, fileName); |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,33 @@
@@ -0,0 +1,33 @@
|
||||
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||
|
||||
using System; |
||||
using ICSharpCode.NRefactory.TypeSystem; |
||||
|
||||
namespace ICSharpCode.XmlEditor |
||||
{ |
||||
/// <summary>
|
||||
/// Description of FoldingRegion.
|
||||
/// </summary>
|
||||
public class FoldingRegion |
||||
{ |
||||
DomRegion region; |
||||
string name; |
||||
|
||||
public DomRegion Region { |
||||
get { return region; } |
||||
set { region = value; } |
||||
} |
||||
|
||||
public string Name { |
||||
get { return name; } |
||||
set { name = value; } |
||||
} |
||||
|
||||
public FoldingRegion(string name, DomRegion region) |
||||
{ |
||||
this.region = region; |
||||
this.name = name; |
||||
} |
||||
} |
||||
} |
@ -1,13 +0,0 @@
@@ -1,13 +0,0 @@
|
||||
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||
|
||||
using System; |
||||
using ICSharpCode.SharpDevelop.Dom; |
||||
|
||||
namespace ICSharpCode.XmlEditor |
||||
{ |
||||
public interface IParserService |
||||
{ |
||||
ParseInformation GetExistingParseInformation(IProjectContent content, string fileName); |
||||
} |
||||
} |
Loading…
Reference in new issue