public void AddWarningsForMissingPlaceholders()
 {
     for (int i = 0; i < FormatValues.Count; i++)
     {
         if (!FormatPlaceholders.Contains(i.ToString()))
         {
             ValidationErrors.Add($"Warning: Format value {i} was not found in format placeholders");
             FormatPlaceholders.Add(i.ToString());
         }
     }
 }
        public void ProcessCurrentSection()
        {
            var name             = CurrentSection.ToString();
            var doublePointSplit = name.Split(':');

            if (doublePointSplit.Length > 1)
            {
                name = doublePointSplit[0];
            }
            if (!FormatPlaceholders.Contains(name))
            {
                FormatPlaceholders.Add(name);
            }
            ClearCurrentSection();
        }