Question
Is it possible to display the revision history of a topic in the form of strikeouts (for deletions) and underlines (for additions)?
Environment
--
JohnNew - 23 May 2005
Answer
yes

- the 2004 release uses css tags, which you can then define the presentation for. - just goto an rdiff page, and view the source

(if you need more pointers, I / someone else can dig them up for you

)
--
SvenDowideit - 23 May 2005
See for the list of CSS classes
PatternSkinCss.
Change attachment
style.css in your
TWiki.PatternSkin topic to reflect your desired formatting.
For instance:
<style>
.twikiDiffPage .twikiDiffAddedText {
background-color:transparent;
text-decoration:underline;
}
</style>
Click on the
Total page history link at the bottom to see this change.
--
ArthurClemens - 23 May 2005
OK, I don't think this is exactly what I am looking for (my fault for not being more specific), so I will show an example.
If I have a topic with the original text being:
This is the original text of the topic.
And I revise it to this:
This is the revised text of the topic.
Then when I view the diff between the two, I would like to see the following:
This is the original revised text of the topic.
without any headers (like Added, Changed, green or red columns, etc.), just as you might see if you turned on the "Show Changes" option in an
OpenOffice document.
Would I have to completely rewrite the ..lib/TWiki/UI/RDiff.pm in order to accomplish this, or is there a simpler way? Is this even possible? Is there possibly someone who has already done this?
--
JohnNew - 24 May 2005
No code yet afaik, but some discussions:
DiffsHardToRecognize,
WordDiff.
--
PeterThoeny - 30 May 2005
Thanks for the help and the pointers.
--
JohnNew - 02 Jun 2005