When word wrapping is enabled and an Ace editor instance is resized, the currently viewed lines 'shift' around, e.g.

Does Ace by any chance provide an API that ensures that the current view is preserved when resizing the editor surface? (By preserved, I mean roughly ensuring that the top line visible in the editor remains visible as the editor is resized).
In the example above, I would like to see line 159 remain in view at the top of the screen even as the editor surface is resized, and lines are wrapped to form new 'screen' lines.
When word wrapping is enabled and an Ace editor instance is resized, the currently viewed lines 'shift' around, e.g.
Does Ace by any chance provide an API that ensures that the current view is preserved when resizing the editor surface? (By preserved, I mean roughly ensuring that the top line visible in the editor remains visible as the editor is resized).
In the example above, I would like to see line 159 remain in view at the top of the screen even as the editor surface is resized, and lines are wrapped to form new 'screen' lines.