Esempio n. 1
0
 public void FillBuffer(TextReader sr)
 {
     filebuffer = new StylerLineList();
     while (sr.Peek() > -1)
     {
         filebuffer.Add(new StylerLine(sr.ReadLine(), filebuffer));
     }
     sr.Close();
 }
Esempio n. 2
0
 public StylerLine(String text, StylerLineList lines)
 {
     this.text  = text.Trim();
     this.lines = lines;
 }