Page 1 of 1

Feature request: improve synchronization links

Posted: Tue Feb 08, 2022 11:12 am
by Alexo
Consider very similar two files with only minor differences

File1:
[5000 line block A1]

File2:
[5000 line block A2]

Now, insert a new block of text in file 2:

File1:
[5000 line block A1]

File2:
[5000 line block B]
[5000 line block A2]

EDP will try to find matches between blocks A1 and B, whereas I want Block B to be displayed as inserted, and blocks A1 and A2 to be matched.

I can do it with setting a link as follows:
Click on the middle bar at the beginning of block A1
Drag the arrow down to the bottom of the window
Wait while the content of file 2 are slowly scrolled up
... and wait
... and wait
... and wait some more
... start feeling discomfort in the finger that presses the button
... feel the need to go to the bathroom
... resist the urge, because the pane is still scrolling
Finally release the button when block A2 scrolls into view

Suggestion for better user experience:

Add two items to the sync bar context menu:
1. Set right link (on this line)
2. Set left link (on this line)

Once both are set, create a link between those 2 points (and reset the right/left points)
Come to think of it, any link operation other than set left/right should reset the points.

Thank you

Re: Feature request: improve synchronization links

Posted: Tue Feb 08, 2022 11:54 am
by psguru
Here's what EDP can currently do to help with this. You can use Alt + Scroll to scroll one pane without matching scrolling of the other (alternatively you can change the corresponding option under Display | Synchronize Vertical Scrolling). Once you've done that, setting links is trivial.

Re: Feature request: improve synchronization links

Posted: Tue Feb 08, 2022 2:19 pm
by Alexo
Good idea. I added the vertical sync toggle to the toolbar.

Re: Feature request: improve synchronization links

Posted: Tue Feb 08, 2022 2:45 pm
by MSpagni
I'm used to speed up the scroll by rotating the mouse wheel while keeping the left button pressed, but next time I'll try this trick!