I added a question here that was not getting any replies:
How can I get around this issue? It seems to be an issue with Codemirror trying to be smart and only render what is on the screen? Can I force it to render everything even if it thinks it’s hidden?
I use Codemirror 5.4.5.