2.5 Undo, Redo, and the History Panel
One of the great consciousness-altering moments of the twentieth century was the
introduction of the Undo command. After a long day in front of the computer, the
ability to undo any action seems quite natural. (Unfortunately, reaching for the Ctrl+Z
keys after spilling grape juice on Grandma's antique tablecloth still doesn't work in
the real world.)
Fortunately, most steps you take in Dreamweaver can be reversed with either the
Undo command or the History panel.
2.5.1 Undo
Like most computer programs these days, Dreamweaver lets you undo the last step
you took by pressing Ctrl+Z (

changes to reflect your most recent action. If you just deleted some text, for example,
it says Edit
you just undid by choosing Edit

|
You're not limited to a single undo, either. You can undo multiple steps, up to 50 of
them, or whatever number you specify in Preferences. Choose Edit
the Mac it's Dreamweaver
category from the Category list, and change the number in the Maximum Number of
History Steps box. (Note, however, that the more steps Dreamweaver remembers, the
more memory the program needs. If you set this preference very high or your computer
doesn't have a lot of memory, you may find your computer acting sluggish.)
FREQUENTLY ASKED QUESTIONEditing Your Personal Dictionary Oops! I added a word to my personal dictionary by accident! How do I undo that? If you click Add to Personal accidentally, you'll probably want to fix your mistakebut there's no obvious way to remove words in your Personal dictionary! Your personal dictionary is a file called Personal Dictionary MX.tlx, and all of the MX 2004 programsFireworks, Flash, and Dreamweavermake use of it. For Windows 2000, NT, and XP, you'll find this file in your own application data folder, usually on the C: drive name] The Application Data folder is usually hidden in Windows. If you don't see it, you need to use Folder Optionslocated in the Control Panelto reveal hidden folders and files.) If you use a Mac, look inside your Home Make a backup copy of this file, just in case. Then, open it in Dreamweaver by choosing File the .tlx file. (Although the file is a text file, the .tlx extension is not a recognized document type in Dreamweaver. You'll need to select "All files" from the pop-up menu before you can open the personal dictionary.) Don't touch the first line of the file, which indicates what language the dictionary uses. Each line thereafter lists a word followed by a tab and the letter i. To delete an entry, delete its entire line. You can also add a word by manually typing the word, a tab, and the letter i. (Dreamweaver's spell checking engine uses that little i for its own purposes.) |
|
2.5.2 History Panel
You may wonder why the Preferences setting for the Undo command refers to "History
Steps." It's because Dreamweaver creates a history for a document as you work
on it. Each time you add text, insert a graphic, change the background color of the
page, or do anything else to a document, Dreamweaver adds a new step to a list of
previous actions.
All of these steps are listed in the History panel. To see it, choose Window
or press Shift-F10.
Each row in the panel represents one action or step, and includes a description. For
instance, hitting Return or Enter while typing in the document creates a step called
New Paragraph. Steps are listed in the order you perform your actions, with the latest
actions at the bottom and earliest action at the top of the list.
The History panel can do a lot more than undo actions. It can also be used for automating
many routine tasks that you perform while building your Web pages. To find out how
to use this feature, see Chapter 19.

But the History panel isn't just a dull document to pore overit's a living, multiplestep
Undo command. Use the History slider to move to any step in the history list. To
undo one action, for example, drag the slider up one step. When you do this, you'll
notice that the slider's previous position step is grayed out. Steps that are dimmed
represent future steps, so moving the slider down one step is the equivalent of choosing
Edit
You can undo or redo multiple steps by moving the slider up or down the list. Alternatively,
you can click on the track to the left of a step to move the slider to that step.
If you want to eliminate all of the history steps for a documentto free up some of
your computer's memory, for exampleselect Clear History from the History Panel's
context menu. But be careful: This is the one action you can't undo.