Returning to a previous edition

Your program now contains a counter. It works fine, but after thinking about it for a while, you decide that you want to keep the interface as clean as possible -- no bells and whistles. So, now you want to take out the counter code. Of course, you could just delete the labels and connections you've added, but you might inadvertently delete one of the other program elements or connections? No need to worry. Remember, you versioned the previous edition!

Follow these steps to replace the current edition with a previous edition from the repository:

  1. Select the ToDoList class in the Workbench and click mouse button 2.
  2. From the pop-up menu, select Replace With and then select Another Edition.
  3. From the Select replacement for ToDoList secondary window, select the edition that you previously versioned and select OK.

    (Because you want to replace the current edition with the previous edition, you could have also selected Replace With and then Previous Edition from the pop-up menu.)

The edition information beside the class name now indicates the version number, not the timestamp of the open edition you had been working on.

If you change your mind again and decide that the counter should stay, you can always add it back; the edition that contained the counter is still in the repository.