textedit: Adds access to the Caret Vertical position.
textedit: temporary work-around to update scrollbars when setting caret position
ide: restore caret and scroll bar position after a file reload.

For some reason the caret isn't displayed until the arrow keys are pressed,
but it is in the correct location.