Re: Diff improvements

Great.

While you're showing off your Javascript skills, there's a niggling bug in the function finder: if you select "map" as the namespace, then the first function in the list (e.g "build" or "contains" depending on the version), nothing happens. Presumably because the selection hasn't actually been changed.

Mike

> On 12 Oct 2022, at 17:02, Norm Tovey-Walsh <norm@saxonica.com> wrote:
> 
> 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:22:41 UTC