undo points for word and line deletion