Fixed
-
Scroll stutter and freezing in reading view on long notes — scrolling a large note (thousands of lines) with the plugin enabled caused Obsidian to stutter and, on very long files, temporarily freeze. The reading-view postprocessor was re-scanning the entire file from scratch for every block that mounted during scroll — recomputing line offsets, verse process-state, marker hits, and split-lines each time — which came out to O(N × M) work per scroll pass. On a large Bible-style note this ran into hundreds of millions of operations per scroll, blocking the main thread.
The plugin now caches these per-file computations behind a small LRU (10 files). The first block rendered from a file pays a one-time ~15 ms scan; every subsequent block mount and every scroll-driven remount is essentially free. Scrolling long notes now matches the plugin-disabled feel. Cache is released when the plugin is disabled and evicts stale entries automatically when a file is edited.
Install
Download main.js, manifest.json, and styles.css below, or update from Settings → Community plugins once the listing syncs.