![]() |
Text Selection Techniques |
|
Introduction |
|
Text selection consists of isolating part of the text of a document, for any reason that is necessary. Why you select text and what you do with the selected text are two completely different issues. This means that text can be selected for any reason. The effect produced while selecting text is also different depending on the application. Also, as always, some applications may provide a feature that is not available in some others. |
|
Text indicates that it is selected when it appears with a different background color than the other characters. It is also said that the text is highlighted. When text is selected, it appears inside of a black or blue background. Actually, the color of the background depends; it is usually the same as the text but it gets the opposite color. For example, when a word in black is selected, it gets white but it gets drawn in a black background. Here is an example of the letter "a" selected inside of the word "quartiers":
Here is an example of the word "quartiers" selected in a paragraph:
Here is an example of a paragraph selected in a document:
Text is primarily selected using the mouse but you can also use a keyboard or a combination of both.
Using the mouse:
In some applications (Microsoft Word, WordPad, Microsoft Works Word Processor, Microsoft FrontPage, etc), to select a line of text, position the mouse to the left of the line. The cursor would point to North-East:
Then click. In some application (Microsoft Word, WordPad), to select a whole paragraph, triple-click any word in the paragraph.
You can also select text using the keyboard:
In word processors (not in text editors like Notepad):
To select the whole content of the document, press Ctrl + A (normally, Ctrl + A is a universal shortcut and can be used to select almost any thing that is part of a window, regardless of what those things are).
You can also combine the mouse and the keyboard to select text:
The Clipboard is an area of the computer that behaves like a short (human) memory with its strengths and weaknesses. Advantages
Disadvantages
Like the human memory, you don't see the computer clipboard: You just know that it is there. There are two main ways you use the clipboard: to put information in it or to retrieve the information it holds.
The primary means of using the clipboard consists of putting information in it. One of the ways you do this is to copy information from a source. To do this, you must first select that information and this depends on what you are using. The document from which you are copying an item is referred to as source. To get text from a text-based application, first select it. To copy it, most applications have a menu called Copy under Edit.
As mentioned above, copying consists of putting information into the clipboard. To use that information, you must retrieve it from the clipboard and put it where you want. This operation is referred to as pasting. The document into which you are pasting an item is referred to as destination. Before pasting something, you should first make sure that the clipboard is not empty and, most of the time, you should know what is in the clipboard. Remember that when the computer starts, the clipboard is empty. Also, you have no way of visually checking the contents of the clipboard. You would just need to remember what you had previously put in the clipboard. We mentioned that the clipboard could contain just about anything: a character, a picture, a book, a group of pictures, a whole library, a paragraph of text, an icon. Notice that these are disparate items that may not share anything at all, except that they are retrieved from the computer. To distinguish these items, the computer (the operating system) categorized using a technique referred to as format. Because of the differences among these items, each uses a specific format. Based on this, some items are categorized as text. Some items are categorized as images (bitmap), and so on. To paste the content of the clipboard, most applications have a Paste item under their Edit menu. In most applications also, you can right-click the area or section where you want to paste. The context menu would have a Paste item. In both cases (using the main menu or the context menu), if you click Paste, the contents of the clipboard would be added to that section. As mentioned already, not all items use the same format. For this reason, not just anything can be pasted in just anywhere. A text-based item such as a letter, a symbol, a word, a sentence, a paragraph, a book (as text) can be pasted in a document that can receive it. On the other hand, a picture cannot be pasted in a text-based application like Notepad because the format is not compatible. Some other applications (OLE-based, don't ask) can be pasted almost anything, even a whole object from an application that has nothing to do with the destination.
We mentioned that you could copy an item and put it in the clipboard. When you do this, the item is only copied; in other words, a copy of the item stays in the source and a copy is made in the clipboard. If you want to remove an item from a source and have it only in the destination, you can Cut it. When this is done, the item is deleted from the source. To cut an item, most applications have a Cut item under the Edit category of their main menu. They may also have a Cut item in their context menu that appears when you right-click. Different applications handle cutting differently. In most applications, once you click Cut, the character, word, sentence, paragraph, the whole text, the picture, the group of pictures, etc, is immediately deleted and put into the clipboard. With some other applications, the item that was cut becomes dimmed or disabled but not completely deleted. After cutting an item and pasting, it becomes available in the destination. As stated already, if the destination is not equipped to received the contents of the clipboard because of a different format, the contents would not be pasted and nothing would happen. You would not even receive a message stating that the pasting operation failed.
Text processing consists of adding characters, inserting characters, moving characters, removing characters, adding empty spaces, inserting empty spaces, removing empty spaces, adding words, inserting words, moving words, removing words, adding paragraphs, inserting paragraphs, or removing paragraphs. Advanced text processing can also consist of adding pages, inserting pages, moving pages, or removing pages. There are two broad types of text you will work on when performing the operations related to text processing. Simple, or also referred to as ASCII, text is a category that includes basic types of characters recognized by the alphabet. The other category is referred to as rich text. This involves fancy techniques of presenting text. Such text can have different colors, the characters can have different sizes, and the paragraphs can have different alignments. Although there are various applications you can use to perform text processing, they share many characteristics. Therefore, here we will learn techniques that can be applied on almost any document, regardless of the application.
Character addition usually consists of adding a character at the end of a word. Normally, this means that you would type a new character to the right side of an existing word. Character inserting consists of entering a new character anywhere inside of a word. Character deletion consists of removing an existing character from text.
Word addition consists of adding a word at the end of a paragraph but before the last period. Word insertion consists of adding a new word somewhere inside of a paragraph.
Paragraph addition consists of adding a new paragraph at the end of the document. Paragraph insertion consists of creating a new paragraph somewhere inside of the document. The new paragraph can be made of text or you may be asked to create an empty space between two paragraphs. |
|
|
||
| Previous | Copyright © 2007, Yevol | Next |
|
|
||