| ofs | hex dump | ascii |
|---|
| 0000 | 47 49 46 38 39 61 20 03 21 02 e7 ff 00 02 00 53 02 00 5a 03 05 29 00 03 4f 04 00 62 00 00 72 00 | GIF89a..!......S..Z..)..O..b..r. |
| 0020 | 00 7b 00 06 41 00 03 61 08 00 6a 00 00 83 00 03 6a 00 00 8c 13 00 57 00 06 5c 00 04 9a 01 08 ad | .{..A..a..j.....j.....W..\...... |
| 0040 | 2b 04 7a 1d 26 65 14 28 85 20 20 bc 2f 2a 54 34 33 2c 27 34 54 18 3c 44 27 2e b1 35 36 41 1b 42 | +.z.&e.(..../*T43,'4T.<D'..56A.B |
| 0060 | 7a 0d 4b 68 1b 4c 3e 1e 42 a1 1f 4c 4b 1b 4d 57 35 41 86 41 44 50 24 4c 58 45 46 49 40 45 6e 5c | z.Kh.L>.B..LK.MW5A.ADP$LXEFI@En\ |
| 0080 | 46 22 47 45 77 48 4a 46 4d 4a 3e 44 49 63 3e 3f d9 1a 53 7d 4f 4b 39 16 58 79 67 4c 1e 28 58 62 | F"GEwHJFMJ>DIc>?..S}OK9.XygL.(Xb |
| 00a0 | 21 5a 6b 1f 5c 64 50 51 54 4f 52 5e 60 4c 6b 41 58 56 15 5f 94 00 64 cc 53 5a 54 58 59 56 74 56 | !Zk.\dPQTOR^`LkAXV._..d.SZTXYVtV |
| 00c0 | 25 4c 5e 55 60 5a 48 5f 5c 4f 2f 67 70 6f 5a 38 0d 6a be 2f 67 7a 2b 66 90 26 6b 7a 1d 6b 9e 60 | %L^U`ZH_\O/gpoZ8.j./gz+f.&kz.k.` |
| 00e0 | 61 4d 60 5f 65 80 5e 16 49 67 64 63 64 3f 57 64 66 81 5f 20 47 6b 5a 80 5f 2a 19 71 ac 67 63 56 | aM`_e.^.Igdcd?Wdf._.GkZ._*.q.gcV |
| 0100 | 00 74 e9 5a 63 8e 61 67 5f 4f 69 81 65 66 62 6c 66 54 21 70 d5 56 6c 63 2e 75 85 6c 65 72 6d 69 | .t.Zc.ag_Oi.efblfT!p.Vlc.u.lermi |
| 0120 | 5c 31 79 80 8a 68 30 3d 76 8e 00 7e fe 61 70 72 4a 76 7d 1d 7e c0 32 7d 8e 90 6c 2d 12 80 df 56 | \1y..h0=v..~.aprJv}.~.2}..l-...V |
| 0140 | 77 73 71 6f 74 74 70 63 76 71 5e 22 7e d5 29 7f b7 67 66 fa 10 84 d8 00 86 fe 27 7b fc 6d 75 6a | wsqottpcvq^"~.)..gf.......'{.muj |
| 0160 | 62 78 6f 61 7b 57 5e 7a 6e 6c 78 5a 73 74 71 5e 7c 62 19 88 bc 5a 7e 6f 36 85 95 29 87 ac 7b 76 | bxoa{W^znlxZstq^|b...Z~o6..)..{v |
<// 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.Windows.Media;
using System.Windows.Media.Imaging;
using Tango.Scripting.Editors.Document;
using Tango.Scripting.Editors.Editing;
namespace Tango.Scripting.Editors.CodeCompletion
{
/// <summary>
/// Describes an entry in the <see cref="CompletionList"/>.
/// </summary>
public interface ICompletionData
{
/// <summary>
/// Gets the image.
/// </summary>
BitmapSource Image { get; }
/// <summary>
/// Gets the text. This property is used to filter the list of visible elements.
/// </summary>
string Text { get; }
/// <summary>
/// Gets the description.
/// </summary>
object Description { get; set; }
/// <summary>
/// Gets the priority. This property is used in the selection logic. You can use it to prefer selecting those items
/// which the user is accessing most frequently.
/// </summary>
double Priority { get; set; }
/// <summary>
/// Perform the completion.
/// </summary>
/// <param name="textArea">The text area on which completion is performed.</param>
/// <param name="completionSegment">The text segment that was used by the completion window if
/// the user types (segment between CompletionWindow.StartOffset and CompletionWindow.EndOffset).</param>
/// <param name="insertionRequestEventArgs">The EventArgs used for the insertion request.
/// These can be TextCompositionEventArgs, KeyEventArgs, MouseEventArgs, depending on how
/// the insertion was triggered.</param>
void Complete(ScriptEditor editor);
}
}