blob: acd140e442ffa3e002714af43fd52c28102641ca (
plain)
| ofs | hex dump | ascii |
|---|
| 0000 | 21 3c 61 72 63 68 3e 0a 2f 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 31 34 38 35 38 30 39 39 | !<arch>./...............14858099 |
| 0020 | 38 33 20 20 20 20 20 20 20 20 20 20 20 20 20 20 30 20 20 20 20 20 20 20 35 30 34 33 36 20 20 20 | 83..............0.......50436... |
| 0040 | 20 20 60 0a 00 00 02 2e 00 01 8f d0 00 01 8f d0 00 01 8f d0 00 01 8f d0 00 01 8f d0 00 01 8f d0 | ..`............................. |
| 0060 | 00 01 8f d0 00 01 8f d0 00 01 8f d0 00 01 8f d0 00 01 8f d0 00 01 8f d0 00 01 8f d0 00 01 8f d0 | ................................ |
| 0080 | 00 01 8f d0 00 01 8f d0 00 01 8f d0 00 01 8f d0 00 01 8f d0 00 01 8f d0 00 01 8f d0 00 01 8f d0 | ................................ |
| 00a0 | 00 01 8f d0 00 01 8f d0 00 01 8f d0 00 01 8f d0 00 01 8f d0 00 01 8f d0 00 01 8f// 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
{
/// <summary>
/// An element inside a snippet.
/// </summary>
[Serializable]
public abstract class SnippetElement
{
/// <summary>
/// Performs insertion of the snippet.
/// </summary>
public abstract void Insert(InsertionContext context);
/// <summary>
/// Converts the snippet to text, with replaceable fields in italic.
/// </summary>
public virtual Inline ToTextRun()
{
return null;
}
}
}
|