WikiFunctions.WikiDiff.UndoAddition C# (CSharp) Method

UndoAddition() public method

public UndoAddition ( int right ) : string
right int
return string
        public string UndoAddition(int right)
        {
            StringBuilder s = new StringBuilder();

            for (int i = 0; i < RightLines.Length; i++)
                if (i != right)
                {
                    if (s.Length > 0)
                    {
                        s.Append("\r\n");
                    }
                    s.Append(RightLines[i]);
                }

            return s.ToString();
        }