data/TWiki/TWikiUIRDiffDotPm.txt
changeset 0 414e01d06fd5
equal deleted inserted replaced
-1:000000000000 0:414e01d06fd5
       
     1 ---+ Package =TWiki::UI::RDiff=
       
     2 
       
     3 UI functions for diffing.
       
     4 
       
     5 
       
     6 %TOC%
       
     7 
       
     8 ---++ StaticMethod *diff* <tt>($session,$web,$topic,$query)</tt>
       
     9 
       
    10 =diff= command handler.
       
    11 This method is designed to be
       
    12 invoked via the =UI::run= method.
       
    13 
       
    14 Renders the differences between version of a TwikiTopic
       
    15 | topic | topic that we are showing the differences of |
       
    16 | rev1 | the higher revision |
       
    17 | rev2 | the lower revision |
       
    18 | render | the rendering style {sequential, sidebyside, raw, debug} | (preferences) DIFFRENDERSTYLE, =sequential= |
       
    19 | type | {history, diff, last} history diff, version to version, last version to previous | =history= |
       
    20 | context | number of lines of context |
       
    21 | skin | the skin(s) to use to display the diff |
       
    22 TODO:
       
    23    * add a {word} render style
       
    24    * move the common CGI param handling to one place
       
    25    * move defaults somewhere
       
    26 
       
    27