/// <summary>
        /// Creates a new SessionRequestHeaderEditor
        /// </summary>
        public ScriptingMainPage()
        {
            // This call is required by the Windows.Forms Form Designer.
            InitializeComponent();

            findReplace = new FindReplaceForm(txtEditor);
            htmlSyntaxFile = Application.StartupPath + @"\XML.syn";
            language = Compona.SourceCode.Language.FromSyntaxFile(htmlSyntaxFile);
            syntaxDocument2.Parser.Init(language);
        }
        /// <summary>
        /// Creates a new text editor form.
        /// </summary>
        public TextEditorForm()
        {
            // This call is required by the Windows.Forms Form Designer.
            InitializeComponent();

            findReplace = new FindReplaceForm(this.txtEditor);
            htmlSyntaxFile = Application.StartupPath + @"\ASP.syn";
            language = Compona.SourceCode.Language.FromSyntaxFile(htmlSyntaxFile);
            //this.txtEditor.Document.Parser.Init(language);
        }