modifying the Margin viewport from an external source

Hello, I would like to know if we can modify the Margin viewport from an external source without loading the CodeMiror object (without cdn import or npm installation)

The viewport margin cannot be changed at all. It’s constant.

Hello Marjin, thx for your repply,

maybe that’s not what I’m looking for too, I would like to be able to load the entire code to edit rather than depending on the scroll which loads the elements progressively

always from an external source (I created a lint for the zoho creator deluge code which uses codemirror, but I need to improve it)

That’s what I mean. You can’t make the editor render the entire document. It’d be too slow for large documents.