blob: c7c719b8a5d43ba81d3828504e95bbf844f98c63 (
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 40 00 00 00 40 08 06 00 00 00 aa 69 71 | .PNG........IHDR...@...@......iq |
| 0020 | de 00 00 00 04 73 42 49 54 08 08 08 08 7c 08 64 88 00 00 00 09 70 48 59 73 00 00 01 bb 00 00 01 | .....sBIT....|.d.....pHYs....... |
| 0040 | bb 01 3a ec e3 e2 00 00 00 19 74 45 58 74 53 6f 66 74 77 61 72 65 00 77 77 77 2e 69 6e 6b 73 63 | ..:.......tEXtSoftware.www.inksc |
| 0060 | 61 70 65 2e 6f 72 67 9b ee 3c 1a 00 00 07 da 49 44 41 54 78 9c ed 9b 5b 6c 1c 57 19 c7 7f 73 d9 | ape.org..<.....IDATx...[l.W...s. |
| 0080 | bb bd eb db 86 c6 89 53 53 87 b4 44 ad a2 0a 95 46 dc 23 5e da 42 9f 2a 2e 45 55 a5 be 55 42 a8 | .......SS..D....F.#^.B.*.EU..UB. |
| 00a0 | 20 55 02 24 5e fa 06 12 12 a8 02 24 2e 0f a5 7d a9 0a c9 03 04 84 08 15 a2 69 02 91 28 4d 69 9a | .U.$^......$...}.........i..(Mi. |
| 00c0 | 48 89 42 d2 c6 4e ec d8 6b ef ce 5e 66 76 66 ce 39 3c 8c 2f bb f6 ec c5 b7 d9 c8 ee 5f 5a 79 67 | H.B..N..k..^fvf.9<./........_Zyg |
| 00e0 | e7 7c 73 ce f7 3f df f9 be ef 7c 73 ac 29 a5 d8 cd d0 7b 3d 80 5e e3 43 02 7a 3d 80 5e 63 d7 13 | .|s..?....|s.)....{=.^.C.z=.^c.. |
| 0100 | 60 36 5e bc f0 16 e9// 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
}
}
|