예제 #1
0
        public DiffViewLines(DiffViewLine LineOne, DiffViewLine LineTwo)
        {
            AddLine(LineOne);
            AddLine(LineTwo);

            m_arDiffStartLines = new int[0];
            m_arDiffEndLines = new int[0];
        }
예제 #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);
        }
예제 #3
0
 public void SetData(DiffViewLine LineOne, DiffViewLine LineTwo)
 {
     m_StringList = null;
     m_Lines = new DiffViewLines(LineOne, LineTwo);
     UpdateAfterSetData();
 }