Closed
Description
To support displaying code comments in the editor, we can leverage viewzone and overlay widget, but as our view components (like view lines, decorations) are absolutely positioned, we want to know the height of viewzone, to archive that
- we can guess by the content. it has limitation as markdown content can contain images
- render the overlay widget first, get its height, resize the viewzone and relayout the editor
The second one is how VSTS manages code comments in monaco editor right now, the experience looks smooth.