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.
36 lines
912 B
36 lines
912 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 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); |
|
} |
|
} |
|
}
|
|
|