Ejemplo n.º 1
0
        public DiffViewLines(DiffViewLine LineOne, DiffViewLine LineTwo)
        {
            AddLine(LineOne);
            AddLine(LineTwo);

            m_arDiffStartLines = new int[0];
            m_arDiffEndLines = new int[0];
        }
Ejemplo n.º 2
0
        private void AddLine(DiffViewLine Line)
        {
            CheckLongestLength(Line.Text);

            if (Line.Number >= 0 && Line.Number > m_iMaxLineNumber)
            {
                m_iMaxLineNumber = Line.Number;
            }

            InnerList.Add(Line);
        }
Ejemplo n.º 3
0
 public void SetData(DiffViewLine LineOne, DiffViewLine LineTwo)
 {
     m_StringList = null;
     m_Lines = new DiffViewLines(LineOne, LineTwo);
     UpdateAfterSetData();
 }