Information Technology Topic
Editing Text in a Document
- Read notes
- Flashcards
- Quiz
- Confident
Study focus - 3 things
- Editing changes the words in a document: insert and delete characters, words, lines, sentences and paragraphs, and choose between insert mode (pushes text along) and overwrite or type-over mode (replaces text)
- Select first, then act: a block of text must be selected before you delete, copy or move it, and you can select a word, a sentence, a paragraph, a rectangular block or separate pieces
- Cut and paste moves text, copy and paste duplicates it, and either can be done inside one document or between documents; undo reverses a paste you do not like
Section 1Editing: changing the words
Editing means changing what a document says: adding words, taking words out, correcting mistakes, and moving things around. It is different from formatting, which changes how the text looks (its size, colour or layout). Every edit happens at the cursor, the flashing mark that shows where the next typed character will go. Click in the text, or use the arrow keys, to put the cursor where you want it. Here's the trick: before you edit, ask two questions. Where is the cursor? And is any text selected? The answers decide what the next key press does.
Section 2Inserting and deleting
To insert text, put the cursor where it should go and type. The new characters appear at the cursor. To delete single characters, use two keys. Backspace removes the character to the left of the cursor. The Delete key removes the character to the right. To delete a word, a line, a sentence or a whole paragraph, select it first and then press Delete. That is much faster than removing it one character at a time. Easy to mix up: Backspace works backwards, towards the start of the text, and Delete works forwards, towards the end. With a typo like Kingstons, press Delete if the cursor is just before the extra s, and Backspace if it is just after it.
Section 3Insert mode and overwrite mode
A word processor has two typing modes. In insert mode, typed characters push the existing text forward. In overwrite mode (also called type-over mode), each typed character replaces a character after the cursor. The status bar at the bottom of the window has a toggle that switches between the two, so you can see which mode you are in. For example, with the cursor before bus in We take the bus to Half Way Tree, typing red and a space in insert mode gives We take the red bus to Half Way Tree. In overwrite mode it gives We take the red to Half Way Tree, because red and the space replaced bus and the space. Watch out: if text vanishes as you type, you have probably switched to overwrite mode by accident. Switch back, and use undo to get the lost characters back.
Section 4Selecting blocks of text
Selecting marks a block of text so that the next action applies to all of it. You can drag across the text with the mouse. Most packages also have quick mouse shortcuts for picking a word or a whole paragraph, but the exact clicks differ from package to package, so check the one you use. A contiguous block can also be selected from the keyboard by entering an extend-selection mode and using the arrow keys. Separate pieces of text that are not next to each other can be selected together by holding a modifier key while you select each piece. A vertical (rectangular) block that spans several lines can be selected with a block-selection mode, which is handy for picking out one column of text.
Section 5Copying and moving text
Moving takes text out of one place and puts it in another: select it, cut it, put the cursor where it should go, and paste. After a move there is still just one copy. Copying leaves the original where it is and puts a duplicate in a new place: select, copy, move the cursor, paste. Afterwards there are two copies. Text can be moved or copied inside one document or between two documents. You can use drag and drop, menus, toolbar buttons or keyboard shortcuts. Dragging while holding a modifier key copies the text instead of moving it. When the whole block is cut and pasted, nothing needs to be retyped, so there is no chance of introducing new spelling mistakes.
Section 6Pasting and undoing
Pasted text normally keeps the formatting it had in its original place. If a sentence copied from a web page has a different font from your document, that is why. A 'paste unformatted' option makes the pasted text take on the formatting of the place where it lands instead. If a paste, a deletion or any other edit goes wrong, undo reverses the last action. Use it straight away, before you carry on typing. Watch out: do not close the document to 'fix' a mistake. Undo exists for exactly this.
Section 7Putting it together
Imagine a notice for a Portmore school sports day with four short paragraphs. You decide that the starting time should come right after the date. Step 1: select the paragraph about the races. Step 2: cut it. Step 3: put the cursor at the start of the second paragraph. Step 4: paste. The order changes, and the number of words stays the same because the text only moved. Then delete a paragraph you do not need: select it and press Delete. The word count drops by the number of words in it. Finally, copy the first sentence into another document with copy and paste. The original is still there, and the second document grows.
Examples
A student types the sentence We take the bus to Half Way Tree. She decides it should say We take the red bus. She puts the cursor just before the word bus and types red followed by a space. (a) State the sentence if the word processor is in insert mode. (b) State the sentence if it is in overwrite mode. (c) Explain what she should do after (b), and how she can stop it happening again.
(a) In insert mode the new characters push the old ones forward: We take the red bus to Half Way Tree. (b) In overwrite mode each typed character replaces one after the cursor. She types 4 characters (r, e, d and a space), so the 4 characters after the cursor, b, u, s and a space, are replaced. The sentence becomes We take the red to Half Way Tree. The word bus has disappeared. (c) Use undo to bring the lost characters back, then switch back to insert mode using the toggle in the status bar and type red again. Watching the mode shown on the status bar stops it happening unnoticed.
A notice for a Portmore school sports day has four paragraphs: P1: Sports day is on Friday 12 March. (7 words) P2: Students should bring water, a hat and sunscreen. (8 words) P3: Races start at 9 a.m. sharp. (6 words) P4: Parents are welcome to watch. (5 words) (a) Cut P3 and paste it directly after P1. State the new order and the word count of the whole notice. (b) Delete P4. State the word count now. (c) Copy P1 into a second document that already contains 12 words. State the word count of each document. (d) The pasted sentence shows up in a different font from the second document. Say what to do.
(a) Cut removes P3 and paste puts it back at the new position, so the order is P1, P3, P2, P4. Nothing was added or removed, so the notice still has 7 + 8 + 6 + 5 = 26 words. (b) Select P4 and press Delete. The notice now has 26 − 5 = 21 words and reads P1, P3, P2. (c) Copying leaves the original, so the first document still has 21 words. The second document gains the 7 words of P1: 12 + 7 = 19 words. (d) Pasted text normally keeps its original formatting. Undo the paste and use paste unformatted, so the sentence takes on the formatting of the place where it lands.
Now let's water it
Session runs notes to flashcards to quiz back-to-back.
Where this comes from
- CSEC Information Technology Syllabus (CXC 30/G/SYLL 08, revised 2000, 2008, 2013) · Caribbean Examinations Council (CXC) · Section 6, Specific Objective 1 · Syllabus scope
- Writer Guide 7.6 (LibreOffice 7.6 Community) · The Document Foundation (LibreOffice Documentation Team) · Chapter 2, Selecting text, checked against (https://documentation.libreoffice.org/assets/Uploads/Documentation/en/WG7.6/WG76-WriterGuide.pdf), pages 41-42 · Facts
- Writer Guide 7.6 (LibreOffice 7.6 Community) · The Document Foundation (LibreOffice Documentation Team) · Chapter 2, Cutting, copying, and pasting text, checked against (https://documentation.libreoffice.org/assets/Uploads/Documentation/en/WG7.6/WG76-WriterGuide.pdf), page 43 · Facts
- Writer Guide 7.6 (LibreOffice 7.6 Community) · The Document Foundation (LibreOffice Documentation Team) · Chapter 1, Status bar (Insert mode), checked against (https://documentation.libreoffice.org/assets/Uploads/Documentation/en/WG7.6/WG76-WriterGuide.pdf), page 25 · Facts