function Text_Diff_Renderer_parallel::_changed in Coder 6.2
Same name and namespace in other branches
- 6 scripts/coder_format/tests/CoderTestFile.php \Text_Diff_Renderer_parallel::_changed()
- 7.2 scripts/coder_format/tests/CoderTestFile.php \Text_Diff_Renderer_parallel::_changed()
- 7 scripts/coder_format/tests/CoderTestFile.php \Text_Diff_Renderer_parallel::_changed()
File
- scripts/
coder_format/ tests/ CoderTestFile.php, line 211 - 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 _changed($orig, $final) {
return '<tr class="changed"><td><pre>' . $this
->_renderLines($orig) . '</pre></td>
<td><pre>' . $this
->_renderLines($final) . '</pre></td></tr>';
}