Moves the caret to the specified marker.
Call this function to move the caret to the specified marker and scroll the text if necessary.