blob: dd159c221a8c2f4735790063f4b12b6ae4195cd0 (
plain)
| ofs | hex dump | ascii |
|---|
| 0000 | 00 00 01 00 06 00 00 00 00 00 01 00 20 00 6b 81 00 00 66 00 00 00 80 80 00 00 01 00 20 00 28 08 | ..............k...f...........(. |
| 0020 | 01 00 d1 81 00 00 40 40 00 00 01 00 20 00 28 42 00 00 f9 89 01 00 30 30 00 00 01 00 20 00 a8 25 | ......@@......(B......00.......% |
| 0040 | 00 00 21 cc 01 00 20 20 00 00 01 00 20 00 a8 10 00 00 c9 f1 01 00 10 10 00 00 01 00 20 00 68 04 | ..!...........................h. |
| 0060 | 00 00 71 02 02 00 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 01 00 00 00 01 00 08 06 | ..q....PNG........IHDR.......... |
| 0080 | 00 00 00 5c 72 a8 66 00 00 80 00 49 44 41 54 78 da ec fd 77 94 64 67 79 e0 8f 3f 6f b8 b9 62 77 | ...\r.f....IDATx...w.dgy..?o..bw |
| 00a0 | 55 77 75 9c ee 99 9e 9e ac 09 1a 66 94 b3 50 32 42 08 10 c6 18 8c 39 df af d7 6b bc 66 6d ff bc | Uwu........f..P2B.....9...k.fm.. |
| 00c0 | 6b 9f 5d 07 be 7b ec e3 65 17 af bd 06 af 2d 03 06 2f 46 d8 60 10 59 c1 ca 79 a4 19 4d 9e 9e d0 | k.]..{..e.....-../F.`.Y..y..M... |
| 00e0 | 3d 9d 63 75 c5 5b 37 be e1 f7 47 55 89 46 08 34 a1 47 93 ee e7 9c 7b aa ba ba aa 6e a8 fb 3c ef | =.cu.[7...GU.F.4.G....{....n..<. |
| 0100 | f3 3e ef 13 00 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 | .>...""""""""""""""""""""""""""" |
| 0120 | // 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;
namespace Tango.Scripting.Editors.Snippets
{
/// <summary>
/// Provides information about the event that occured during use of snippets.
/// </summary>
public class SnippetEventArgs : EventArgs
{
/// <summary>
/// Gets the reason for deactivation.
/// </summary>
public DeactivateReason Reason { get; private set; }
/// <summary>
/// Creates a new SnippetEventArgs object, with a DeactivateReason.
/// </summary>
public SnippetEventArgs(DeactivateReason reason)
{
this.Reason = reason;
}
}
/// <summary>
/// Describes the reason for deactivation of a <see cref="SnippetElement" />.
/// </summary>
public enum DeactivateReason
{
/// <summary>
/// Unknown reason.
/// </summary>
Unknown,
/// <summary>
/// Snippet was deleted.
/// </summary>
Deleted,
/// <summary>
/// There are no active elements in the snippet.
/// </summary>
NoActiveElements,
/// <summary>
/// The SnippetInputHandler was detached.
/// </summary>
InputHandlerDetached,
/// <summary>
/// Return was pressed by the user.
/// </summary>
ReturnPressed,
/// <summary>
/// Escape was pressed by the user.
/// </summary>
EscapePressed
}
}
|