WikiFunctions.WikiDiff.ContextLine C# (CSharp) Method

ContextLine() private method

Renders a context row
private ContextLine ( int line ) : void
line int Number of line in the RIGHT text
return void
        private void ContextLine(int line)
        {
            string html = HttpUtility.HtmlEncode(RightLines[line]);
            Result.AppendFormat(@"<tr onclick='window.external.GoTo({0});'>
              <td class='diff-marker'> </td>
              <td class='diff-context'>", line);
            Result.Append(html);
            Result.Append(@"</td>
              <td class='diff-marker'> </td>
              <td class='diff-context'>");
            Result.Append(html);
            Result.Append(@"</td>
            </tr>");
        }