private void richTextBoxCodeIn_TextChanged(object sender, EventArgs e) { //try // { richTextBoxCodeOut.Clear(); comp.Compile(richTextBoxCodeIn.Text); if (comp.Syn.GraphsSyntactic != null && comp.Syn.GraphsSyntactic.Count > 0) { richTextBoxCodeOut.Text = comp.CodeModifySource; richTextBoxCompiled.Text = comp.CodeCompiled; lblPertinenceLex.Text = comp.PertinenceLex.ToString(); lblPertinenceLex.ForeColor = Utils.GetColor(comp.PertinenceLex); lblPertinenceSyn.Text = comp.PertinenceSyn.ToString(); lblPertinenceSyn.ForeColor = Utils.GetColor(comp.PertinenceSyn); lblPertinenceTotal.Text = comp.PertinenceTotal.ToString(); lblPertinenceTotal.ForeColor = Utils.GetColor(comp.PertinenceTotal); } // } // catch (Exception ex) // { } }