Editing documents
Making corrections to a text is called editing the document. To add a missing character you put the cursor in the right place and type it. A selected part of the text is called a block and is shown with a shaded background. You can select a block with Shift and the arrow keys or by dragging the mouse; a double-click selects a word, a triple-click a paragraph, Ctrl+click a sentence, and Ctrl+A the whole document. Delete removes the character after the cursor, Backspace the one before it; a selected block disappears with Delete. To move a part of the text you cut it with Ctrl+X and paste it in the new place with Ctrl+V; to copy it you use Ctrl+C instead of Ctrl+X. Cut or copied text waits in the clipboard, a temporary memory. When pasting you can keep the formatting or paste text only. To replace a word throughout a long text, press Ctrl+H (Ctrl+F only searches), fill in the “Find what” and “Replace with” boxes and press Replace All. If you slip up, Ctrl+Z undoes the last action.
| Keys / action | What is selected |
|---|---|
| double-click | a word |
| triple-click | a paragraph |
| Ctrl + bosish | a sentence |
| Ctrl+A | the whole document |
| Shift + ←→↑↓ | a block |
A school club changed the date of its fair, and the date had to be replaced in several places in the notice. Searching by hand for each one took time, while “find and replace” corrected them all at once. This way of editing leaves no mistake behind.
An editor changes one name throughout a whole book, an office worker updates a date in a contract, and a programmer renames a variable everywhere in code.
Write a five-line daily schedule on paper and count how many places would need correcting if a date or time changed.
“Error hunters”: each group gets a text with deliberate mistakes and corrects it using select, delete and replace, racing to finish first.