Exemplo n.º 1
0
        public void AddLine(int charSizeOfLine)
        {
            DMPLine line = new DMPLine();

            line.LineNumber = Content.Count + 1;
            while (charSizeOfLine > 0)
            {
                line.AddChar(' ');
                charSizeOfLine--;
            }
            Content.Add(line);
        }
Exemplo n.º 2
0
        public void InsertForcedLine(int index, int charSizeOfLine)
        {
            DMPLine line = new DMPLine();

            line.LineNumber = index;
            line.IsForced   = true;
            while (charSizeOfLine > 0)
            {
                line.AddChar(' ');
                charSizeOfLine--;
            }
            Content.Insert(index, line);
            RefreshLineNumbers();
        }
Exemplo n.º 3
0
 public void InsertForcedLine(int index, int charSizeOfLine)
 {
     DMPLine line = new DMPLine();
     line.LineNumber = index;
     line.IsForced = true;
     while (charSizeOfLine > 0)
     {
         line.AddChar(' ');
         charSizeOfLine--;
     }
     Content.Insert(index, line);
     RefreshLineNumbers();
 }
Exemplo n.º 4
0
 public void AddLine(int charSizeOfLine)
 { 
     DMPLine line = new DMPLine();
     line.LineNumber = Content.Count + 1;
     while (charSizeOfLine > 0)
     {
         line.AddChar(' ');
         charSizeOfLine--;
     }
     Content.Add(line);
 }