Exemplo n.º 1
0
        private void btnCheckSyntax_Click(object sender, EventArgs e)
        {
            TemplateMain.Instance().ShowOutputText();
            CodeFormatter f = new CodeFormatter(txtText);

            f.ProcessAll(m_codelines);
            SyntaxChecker sc = new SyntaxChecker(m_libraryeditor);

            sc.AddObserver(this);
            sc.ProcessAll(m_codelines);
        }