Cm5Editor.getViewport method
Cm5Editor › getViewport
Unofficial
Returns the start and end of the currently rendered part of the document.Signature:
getViewport(): Cm5ViewportReturns: Cm5Viewport — An object with from and to properties.
Cm5Editor › getViewport
Unofficial
Returns the start and end of the currently rendered part of the document.Signature:
getViewport(): Cm5ViewportReturns: Cm5Viewport — An object with from and to properties.