Re: Diff improvements

The “ View only” feature is really helpful. Thanks!


Am 12.10.2022 18:07 schrieb Norm Tovey-Walsh <norm@saxonica.com>:
Hi folks,

I believe I have fixed the bug where navigating with Previous/Next
didn’t work correctly after zooming in or out on a page.

I also added new button “View only”. This button attempts to show you
only the changes in the document. You can imagine that it works like
this:

1. It hides all of the content in the document.
2. It reveals all of the differences.
3. For each difference, it reveals all of the preceding nodes until it
   reaches a heading.
4. It puts a line of big red dots between the sections.

I don’t know how useful that will be, but it seemed like it might be
useful.

(Because the button is in the JavaScript, it will show up for all of the
automatic diffs. I don’t promise it will work correctly on the older
ones. It seems to work OK on PR 203.)

                                        Be seeing you,
                                          norm

--
Norm Tovey-Walsh
Saxonica

Received on Wednesday, 12 October 2022 16:18:23 UTC