3.13 Editing a Document.
We have described how to create a new document and review its contents. This
section introduces the basic text editing commands. The most common forms of
editing are deleting or inserting characters, words, or sentences. These commands are
described here, along with searching, search and replace, defining pages, and moving
to particular points in a document. Advanced word processing commands are covered
in Chapter 7.

3.13.1 Inserting Text.
To insert a character, word, sentence, or any amount of text, you need only to
position the cursor at the point where you want to insert the text, and start typing. No
special command is required because KeyWord is always in the insert mode.
Text is inserted at the cursor position. The character that was at the cursor, and all
following characters, move to the right to make room. Experiment with this by
inserting some words in your "Sample" document.

3.13.2 Deleting Text.
There are seven different delete commands available with KeyWord, allowing for the
deleting of sections of text from one character to the whole document.
Delete current character -
Press CONTROL with COMMA, or DELETE.
This deletes the character under the cursor. A short beep is sounded followed by
announcement of the new character under the cursor. This command is also available
by pressing the DELETE key. The text to the right of the character is all moved one
character to the left to fill the gap. The cursor is now placed on the next character and
this character is displayed.
Delete last character -
Press BACKSPACE.
This deletes the previous character, that is, the last character entered if you are typing.
The character deleted is displayed followed by a short beep. You can also use the
command CONTROL with M.
Delete current word -
Press CONTROL with K.
This deletes the word under the cursor together with any following spaces. A short
beep is sounded and the text to the right of the word is all moved to the left to fill the
gap. The cursor is now on the first character of the next word and this word is
displayed. If the cursor is on a space, all spaces up to the beginning of the next word
are deleted and the cursor is placed on that word.
Delete previous word -
Press CONTROL with J.
The word before the cursor is deleted, together with any following spaces.
Delete to end of sentence -
Press CONTROL with I.
KeySoft prompts you to make sure that you really mean to delete such a significant
amount of text. If you press Y, all text will be deleted from the cursor position to the
end of the current sentence. The cursor will be placed on the first character of the
next sentence.

Delete to end of paragraph -
Press CONTROL with 8.
KeySoft prompts you to make sure that you really mean to delete such a significant
amount of text. If you press Y, all text will be deleted from the cursor position to the
end of the current paragraph. The cursor remains in the same position.
Delete to end of document -
Press CONTROL with D.
KeySoft prompts you to make sure that you really mean to delete such a significant
amount of text. If you press Y, all text will be deleted from the cursor position to the
end of the document. The cursor remains in the same position.
There is no specific command to delete all text from a document, but this can easily
be done by pressing READ with T to move to the top of the document and then
pressing CONTROL with D.
Note that the keys used to delete a particular section of text correspond to the
commands for reading the same section of text except that the BACKSPACE key is
used in place of the SPACE key.
In summary, the full set of delete commands is:
Delete current character, CONTROL with COMMA, or DELETE;
Delete previous character BACKSPACE;
Delete current word, CONTROL with K;
Delete previous word, CONTROL with J;
Delete to end of sentence, CONTROL with I;
Delete to end of paragraph, CONTROL with 8;
Delete to end of document, CONTROL with D.
In case it is not obvious, if you press one wrong key while you are typing, you will
want to delete the character to the left of the cursor position, not the blank which is
currently under the cursor. For this reason you should use BACKSPACE if you have
just made a single typing mistake. Use BACKSPACE also to correct mistakes during
entry of file names, search strings, etc.

For the same reason, if you realize that the word you have just typed is wrong when
KeySoft echoes it, use the delete-previous-word command to remove it.
On reading your document again, you may find a word misspelled. When using
speech it is often simpler to delete the word and retype it correctly, followed by a
single space, rather than delete one or two characters and correct on a letter by letter
basis.

NEXT PAGE - Back to INDEX