aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/TEMP/Tango.Scripting/Tango.Scripting.IDE.UI/MainWindowVM.cs
blob: 2ced386b339999a5f8e8e2aef5088648a9c7bddf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.SharedUI;

namespace Tango.Scripting.IDE.UI
{
    public class MainWindowVM : ViewModel
    {
        public ScriptIDEViewVM IdeVM { get; set; }

        public MainWindowVM()
        {
            IdeVM = new ScriptIDEViewVM();
        }
    }
}
span>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); } }