Thursday, January 29, 2009

Clipboard Operations: Cut

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.

Practical Learning: Cutting and Pasting From the Clipboard
1- On the main menu of Notepad, click Edit -> Select All
2- Again on the main menu of Notepad, click Edit -> Cut and notice that the whole text has been erased
3- Start WordPad and press Enter to move the caret to the second line
4- On the main menu of WordPad, click Edit -> Paste
5- Log on to http://www.functionx.com/windows/images/cover1.gif
6- Right-click the picture and click Copy
7- Return to WordPad and press Ctrl + Home to move the caret to the beginning
8- On the main menu, click Edit -> Paste to paste the picture

Text Processing
Introduction
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
Text Processing and Characters
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.
Text Processing and Words
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.
Text Processing and Paragraphs
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.

No comments:

Post a Comment