blob: b79aa844f887d1aff901933443c2df69c36a2679 (
plain)
| ofs | hex dump | ascii |
|---|
| 0000 | 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 10 00 00 00 10 08 06 00 00 00 1f f3 ff | .PNG........IHDR................ |
| 0020 | 61 00 00 00 09 70 48 59 73 00 00 0e c3 00 00 0e c3 01 c7 6f a8 64 00 00 00 70 49 44 41 54 78 5e | a....pHYs..........o.d...pIDATx^ |
| 0040 | dd 92 b1 0d 85 30 0c 44 99 83 29 58 8c 11 d8 86 8a 31 e8 58 80 05 18 c0 ff 8b 93 db c0 d1 05 21 | .....0.D..)X.....1.X...........! |
| 0060 | 9d 25 37 88 48 af f1 25 27 9f 9d e6 7d 07 40 e7 ee 76 52 6e 18 35 69 c0 8b eb d4 97 79 68 2b 58 | .%7.H..%'...}.@..vRn.5i.....yh+X |
| 0080 | a3 16 31 b8 1e fc ec 5f c1 1a b5 a8 c1 23 d4 c2 99 b1 43 75 a0 33 6f cb 28 66 20 33 eb 2d e8 cc | ..1...._.....#....Cu.3o.(f.3.-.. |
| 00a0 | f9 a9 e7 f7 9e// 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 Tango.Scripting.Editors.Editing;
using Tango.Scripting.Editors.Utils;
namespace Tango.Scripting.Editors.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;
}
}
}
|