You are here

function Text_Diff_Renderer_parallel::_added in Coder 7

Same name and namespace in other branches
  1. 6.2 scripts/coder_format/tests/CoderTestFile.php \Text_Diff_Renderer_parallel::_added()
  2. 6 scripts/coder_format/tests/CoderTestFile.php \Text_Diff_Renderer_parallel::_added()
  3. 7.2 scripts/coder_format/tests/CoderTestFile.php \Text_Diff_Renderer_parallel::_added()

File

scripts/coder_format/tests/CoderTestFile.php, line 203
Set of tests for the coder_format script.

Class

Text_Diff_Renderer_parallel
Parallel diff renderer for HTML tables with original text on left, new text on right, and changed text highlighted with appropriate classes.

Code

function _added($lines) {
  return '<tr><td>&nbsp;</td><td class="added"><pre>' . $this
    ->_renderLines($lines) . '</pre></td></tr>';
}