// 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.Windows.Documents; using ICSharpCode.AvalonEdit.Editing; using ICSharpCode.AvalonEdit.Utils; namespace ICSharpCode.AvalonEdit.Snippets { /// /// An element inside a snippet. /// [Serializable] public abstract class SnippetElement { /// /// Performs insertion of the snippet. /// public abstract void Insert(InsertionContext context); /// /// Converts the snippet to text, with replaceable fields in italic. /// public virtual Inline ToTextRun() { return null; } } }