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 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 | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-01-21 - TWikiContributor
 

Copyright © 1999-2024 by the contributing authors. All material from TWiki is the property of the contributing authors.
Questions, comments, or concerns? Contact GNHLUG.
All use of this site subject to our Legal Notice (includes Terms of Service).