// // // // // $Revision$ // using System; using System.Xml; namespace ICSharpCode.TextEditor.Document { /// /// Used for mark next token /// public class NextMarker { string what; HighlightColor color; bool markMarker = false; /// /// String value to indicate to mark next token /// public string What { get { return what; } } /// /// Color for marking next token /// public HighlightColor Color { get { return color; } } /// /// If true the indication text will be marked with the same color /// too /// public bool MarkMarker { get { return markMarker; } } /// /// Creates a new instance of /// public NextMarker(XmlElement mark) { color = new HighlightColor(mark); what = mark.InnerText; if (mark.Attributes["markmarker"] != null) { markMarker = Boolean.Parse(mark.Attributes["markmarker"].InnerText); } } } }