Daya Bay Reactor Neutrino Experiment
TWiki > TWikiUIRDiffDotPm (1 vs. 3)
Daya Bay webs: Public | 中文 | Internal | Help   Log In or Register

Welcome | Register | Changes | Topics | Index | Search | Go
 <<O>>  Difference Topic TWikiUIRDiffDotPm (3 - 2008-01-22 - TWikiContributor)
Line: 9 to 9
  diff command handler. This method is designed to be
Changed:
<
<
invoked via the TWiki::UI::run method.
>
>
invoked via the UI::run method.
  Renders the differences between version of a TwikiTopic
topic topic that we are showing the differences of

 <<O>>  Difference Topic TWikiUIRDiffDotPm (2 - 2007-01-16 - TWikiContributor)

 <<O>>  Difference Topic TWikiUIRDiffDotPm (1 - 2006-02-01 - TWikiContributor)
Line: 1 to 1
Added:
>
>

Package TWiki::UI::RDiff

UI functions for diffing.

StaticMethod diff ($session,$web,$topic,$query)

diff command handler. This method is designed to be invoked via the TWiki::UI::run method.

Renders the differences between version of a TwikiTopic

topic topic that we are showing the differences of
rev1 the higher revision
rev2 the lower revision
render the rendering style {sequential, sidebyside, raw, debug} (preferences) DIFFRENDERSTYLE, sequential
type {history, diff, last} history diff, version to version, last version to previous history
context number of lines of context
skin the skin(s) to use to display the diff
TODO:
  • add a {word} render style
  • move the common CGI param handling to one place
  • move defaults somewhere

View | History: r3 < r2 < r1 | More

View | History: r3 < r2 < r1 | More
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiUIRDiffDotPm.