Undo and Redo menu and toolbar items don't always detail the action to be un/redone. Some actions are listed as bookmarks - these are WordStar command actions. Word doesn't treat program code blocks as single actions. To overcome this the program uses a number of bookmarks which Word is registering as possible un/redo actions.