Centers the viewport on the line the editing cursor is at. This also resets the scrollHorizontal value to 0.
See Implementation
Centers the viewport on the line the editing cursor is at. This also resets the scrollHorizontal value to 0.