Join GitHub today
fix #5280: synchronize preview with editor when scrolls #5442
@AlexTugarev I found another related issue - synchronization may break if the preview is quickly scrolled all the way up to the top. But it seems that it already exists on the current master. I think it's better to open a new issue on this. Also, the performance of finding the source code line could be improved.
AlexTugarev left a comment
@a1994846931931 thanks for this PR! Very cool! It's a great improvement.
Also, as you pointed out correctly, the sync story needs a second revision to get rid of this nasty setTimeout-based locks/unlocks.