# Can I set the viewport to a bigger range ?

**URL:** <https://discuss.codemirror.net/t/can-i-set-the-viewport-to-a-bigger-range/5869>\
**Category:** Uncategorized\
**Created:** [March 4, 2023, 5:25am UTC](https://discuss.codemirror.net/t/can-i-set-the-viewport-to-a-bigger-range/5869 "2023-03-04T05:25:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![codem](https://discuss.codemirror.net/letter_avatar_proxy/v4/letter/c/b487fb/32.png) [@codem](https://discuss.codemirror.net/u/codem)\
**Post date:** [March 4, 2023, 5:25am UTC](https://discuss.codemirror.net/t/can-i-set-the-viewport-to-a-bigger-range/5869/1 "2023-03-04T05:25:16Z")

</div>

I know that CodeMirror doesn’t render the entire document, when that document is big, it’s good for the performence. But what if sometimes I really want to render more than the default range, can I set the viewport render range ?

---

<div class="post-metadata">

**Author:** ![marijn](https://discuss.codemirror.net/user_avatar/discuss.codemirror.net/marijn/32/136_2.png) [@marijn](https://discuss.codemirror.net/u/marijn)\
**Post date:** [March 4, 2023, 9:30am UTC](https://discuss.codemirror.net/t/can-i-set-the-viewport-to-a-bigger-range/5869/2 "2023-03-04T09:30:01Z")

</div>

No, there’s no way to control the viewport size.
