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

            #endregion Fields

            #region Constructors

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