1 # <a name="Package <code>TWiki::UI::RDiff="></a> Package =TWiki::UI::RDiff
3 UI functions for diffing.
7 <li><a href="#Package =TWiki::UI::RDiff="> Package TWiki::UI::RDiff</a><ul>
8 <li><a href="#StaticMethod <strong>diff</strong> ($session,$w"> StaticMethod diff <tt>($session,$web,$topic,$query)</tt></a></li>
14 ## <a name="StaticMethod <strong>diff</strong> ($session,$w"></a> [[StaticMethod]] **diff** `($session,$web,$topic,$query)`
16 `diff` command handler. This method is designed to be invoked via the `TWiki::UI::run` method.
18 Renders the differences between version of a [[TwikiTopic]]
20 <table border="1" cellpadding="0" cellspacing="0">
23 <td> topic that we are showing the differences of </td>
27 <td> the higher revision </td>
31 <td> the lower revision </td>
35 <td> the rendering style {sequential, sidebyside, raw, debug} </td>
36 <td> (preferences) DIFFRENDERSTYLE, <code>sequential</code></td>
40 <td> {history, diff, last} history diff, version to version, last version to previous </td>
41 <td><code>history</code></td>
45 <td> number of lines of context </td>
49 <td> the skin(s) to use to display the diff </td>
55 - add a \{word\} render style
56 - move the common CGI param handling to one place
57 - move defaults somewhere