avoid exception in characterselect
allow undoable/redoable insertions of characters
correct output of display formulas on apply
allow redo/undo on formula insertions/changes
generated source