IDEA-118419 Keep caret on the screen while changing font size

taking into account intra-line mouse position to avoid lines 'jumping'
new project wizard in work