mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1009 B
39 lines
1009 B
// 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 System.Collections.Generic; |
|
using System.Collections.ObjectModel; |
|
using System.Collections.Specialized; |
|
using System.Diagnostics; |
|
using System.Linq; |
|
|
|
using ICSharpCode.AvalonEdit.Document; |
|
|
|
namespace ICSharpCode.AvalonEdit.Xml |
|
{ |
|
/// <summary> Identifies the context in which the text occured </summary> |
|
enum TextType |
|
{ |
|
/// <summary> Ends with non-whitespace </summary> |
|
WhiteSpace, |
|
|
|
/// <summary> Ends with "<"; "]]>" is error </summary> |
|
CharacterData, |
|
|
|
/// <summary> Ends with "-->"; "--" is error </summary> |
|
Comment, |
|
|
|
/// <summary> Ends with "]]>" </summary> |
|
CData, |
|
|
|
/// <summary> Ends with "?>" </summary> |
|
ProcessingInstruction, |
|
|
|
/// <summary> Ends with "<" or ">" </summary> |
|
UnknownBang, |
|
|
|
/// <summary> Unknown </summary> |
|
Other |
|
} |
|
}
|
|
|