I see there is a way to set scrolltop in monaco editor. How would one scroll to a specific line instead of a specific pixel?
I see there is a way to set scrolltop in monaco editor. How would one scroll to a specific line instead of a specific pixel?
I just want to add that if you want to scroll to the last line, you can use
editor.revealLine(editor.getModel().getLineCount())