internal void AddLine(Line line) { if (!line.AddedToSection) { SectionLines.Add(line.Text); } }
internal void BeginNewSection(Line line) { if (InsideSection) { EndSection(line, true); } SectionLines.Clear(); if (!ExcludeBegin) { AddLine(line); } InsideSection = true; StringFoundInSection = false; }