Scroll cursor to first line in editor div

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,

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

See cursorCoords and scrollTo.