pascalabcnet/Libraries/AvalonEdit/ICSharpCode.AvalonEdit/Highlighting/Xshd/XshdKeywords.cs

37 lines
912 B
C#
Raw Permalink Normal View History

2015-05-14 22:35:07 +03:00
// 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 ICSharpCode.AvalonEdit.Utils;
namespace ICSharpCode.AvalonEdit.Highlighting.Xshd
{
/// <summary>
/// A list of keywords.
/// </summary>
[Serializable]
public class XshdKeywords : XshdElement
{
/// <summary>
/// The color.
/// </summary>
public XshdReference<XshdColor> ColorReference { get; set; }
readonly NullSafeCollection<string> words = new NullSafeCollection<string>();
/// <summary>
/// Gets the list of key words.
/// </summary>
public IList<string> Words {
get { return words; }
}
/// <inheritdoc/>
public override object AcceptVisitor(IXshdVisitor visitor)
{
return visitor.VisitKeywords(this);
}
}
}