r1 - 01 Feb 2006 - 12:01:26 GMT - TWikiContributorYou are here: Bernstein > TWiki Web > TWikiUIRDiffDotPm

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

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
The Bernstein Website
Copyright © by the contributing authors.
Bernstein - The Memory of Paper http://www.bernstein.oeaw.ac.at
Ideas, requests, problems regarding Bernstein? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiUIRDiffDotPm
This site is powered by the TWiki collaboration platform