// 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
{
/// Identifies the context in which the text occured
enum TextType
{
/// Ends with non-whitespace
WhiteSpace,
/// Ends with "<"; "]]>" is error
CharacterData,
/// Ends with "-->"; "--" is error
Comment,
/// Ends with "]]>"
CData,
/// Ends with "?>"
ProcessingInstruction,
/// Ends with "<" or ">"
UnknownBang,
/// Unknown
Other
}
}