Skip to content

Cm5Editor.getViewport method

Cm5Editor › getViewport

Unofficial

Returns the start and end of the currently rendered part of the document.

Signature:

getViewport(): Cm5Viewport

Returns: Cm5ViewportAn object with from and to properties.