Adjust cursor position before inserting new symbol

or deleting symbol
Yet can't figure out what to do when user replaces symbols in range