Files
openidea/src/features
faysouandfaysou 49dd1bbef3 perf(markdown): cut layout reads while scrolling previews (#5036)
Each preview scroll frame read offsetTop of every block to find the line at the top. The preview now indexes its blocks when the HTML changes and binary-searches them, reading offsets lazily from the live layout so reflows (zoom, images, diagrams) still count.

Co-authored-by: faysou <893862+faysou@users.noreply.github.com>
2026-11-21 23:51:17 +08:00
..