add addtext

can add text on right locate and undo/redo work fine