Scroll cursor to first line in editor div


#1

I am looking for a way to scroll the cursor to the first line, or very top of the viewable editor area.

Thank you for your time,
Chris


#2

One note, the cursor is already in the viewable area, I just need to scroll it to the top.


#3

See cursorCoords and scrollTo.