EsotericIDE.Sclipting.ScliptingEnv.UpdateWatch C# (CSharp) Méthode

UpdateWatch() public méthode

public UpdateWatch ( ) : void
Résultat void
        public override void UpdateWatch()
        {
            var sb = new StringBuilder();
            if (RegexObjects.Any())
            {
                sb.AppendLine("Active regular expression blocks:");
                for (int i = 0; i < RegexObjects.Count; i++)
                    RegexObjects[i].AppendDescription(i, sb);
                sb.AppendLine();
            }

            for (int i = CurrentStack.Count - 1; i >= 0; i--)
                sb.AppendLine(describe(CurrentStack[i], i + 1));
            if (sb.Length > 0)
                sb.Remove(sb.Length - Environment.NewLine.Length, Environment.NewLine.Length);
            _txtWatch.Text = sb.ToString();
        }