It seems to be related to the rendered range being limited for performance reasons, and the effects not affecting invisible ones. Based on discussions here and here an ensureSyntaxTree(state,doc.length,5000);view.dispatch({});
should then get the iteration pass through the initial range limit, but it isn’t making a difference for me. I’m on @codemirror/language v6.10.8 and state v6.4.1, view v6.33.0.