do not reposition cursor to end of number on change

restore cursor position after update.
cursor position must be restored after update.
when non number chars are deleted or inserted move cursor position for -1 or 1 respectively