const Key KeyDeadCharProcessed = (Key)0xac; // Key.DeadCharProcessed; // new in .NET 4

            #endregion Fields

            #region Constructors

            public InputHandler(GradientTemplateDialog window)
                : base(window.TextArea)
            {
                Debug.Assert(window != null);
                this.window = window;
            }
 public GradientTemplateCompletionItem(ITextEditor editor)
 {
     TemplateText = StringParser.Parse("${res:Template.Text.Gradient}");
     dialog = new GradientTemplateDialog(editor.GetService(typeof(TextArea)) as TextArea);
 }