Display JSPWiki page differences word-by-word
By default, JSPWiki displays differences between page versions line-by-line. While serviceable for general use, this is often not fine-grained enough to easily identify specific changes – especially in pages with lots of content.
In JSPWiki this setting is known as the difference provider. You can configure alternative difference providers, one of which is the ContextualDiffProvider. The ContextualDiffProvider enables displaying of page version differences on a word-by-word basis.
Here's an example of page differences with the default TraditionalDiffProvider enabled (click to enlarge):
Note that while only one word and one character has changed, the entire sentence is highlighted. By comparison here are the same changes with the ContextualDiffProvider enabled instead (click to enlarge):
Clicking on the blue highlighted double arrows to the left or right of a change will jump to the previous or next change respectively (click to enlarge):
Posted at 08:32AM Aug 08, 2016 by Dave Koelmeyer in General | |