(Moving the Cursor\curs_chap)

(Moving cursor) Every editing operation consists of two steps: (numbered) Moving the cursor to the point in your text file where you want to perform an operation Performing that operation

This chapter describes the KED function keys and commands you can use to move the cursor. (edit_chap) describes the keys and commands you can use to perform editing operations.

KED lets you move the cursor: (UNNUMBERED) Character by character ((char_sec)) Word by word ((word_sec)) Line by line ((line_sec)) Section by section or page by page ((sect_sec)) To the end or beginning of your text file ((endbegin_sec)) Directly to any point in your text file ((direct_sec)) (Moving by Character\CHAR_SEC)

(Moving bycharacter) (Charactermoving by) Keyboard keys or keypad keys move the cursor one character at a time. (Left and Right Arrow Keyboard Keys)

(Arrow keyboard keysleft arrow) (Arrow keyboard keysright arrow) (Keyboard keysarrow) (Keyboard keysleft arrow) (Keyboard keysright arrow) (Left-arrow keyboard key) (Right-arrow keyboard key) The ( (LEFTARROW) ) and ( (RIGHTARROW) ) keys let you move the cursor from character to character. (Backing Up)

(Backing up in text fileleft-arrow keyboard key) (Arrow keyboard keysbacking up in text file) To back up the cursor to the preceding character, press ( (LEFTARROW) ).

Before: 123 45 6(7)89

After: 123 45 (6)789 (Advancing)

(Advancing in text fileright-arrow keyboard key) (Right-arrow keyboard key) (Arrow keyboard keysright arrow) (Arrow keyboard keysadvancing in text file) (Advancing in text filearrow keyboard keys) To advance the cursor to the succeeding character, press ( (RIGHTARROW) ).

Before: 123 4(5) 6789

After: 123 45( )6789 (CHAR and BACKUP or ADVANCE Keypad Keys)

(Keypad keysCHAR) (CHAR function) (FunctionsCHAR) The CHAR key moves the cursor one character at a time. (Backing Up)

(Keypad keysbacking up in text file) (Backing up in text filekeypad keys) (Keypad keysBACKUP) (BACKUP function) (FunctionsBACKUP) To back up the cursor to the preceding character, press (BACKUP) and (CHAR).

Before: Pawtucket, Rho(d)e Island

After: Pawtucket, Rh(o)de Island

If you press (CHAR) again and again, KED continues to back up the cursor until you reverse direction by pressing (ADVANCE). (Advancing)

(Keypad keysadvancing in text file) (Advancing in text filekeypad keys) (Keypad keysADVANCE) (ADVANCE function) (FunctionsADVANCE) To advance the cursor to the succeeding character, press (ADVANCE) and (CHAR).

Before: Pa(w)tucket, Rhode Island

After: Paw(t)ucket, Rhode Island

If you press (CHAR) again and again, KED continues to advance the cursor until you reverse direction by pressing (BACKUP).

The ADVANCE and BACKUP keys affect keypad functions only. They do not affect the arrow keys. (Moving by Word\WORD_SEC)

(Moving byword) (Wordmoving by) A word is a string of one or more characters (a character string) followed by one or more spaces. KED also considers a horizontal tab and all line terminators to be words.

(Keypad keysWORD) (WORD function) (FunctionsWORD) The WORD and BACKUP or ADVANCE keypad keys move the cursor one word at a time. (Backing Up)

(Keypad keysbacking up in text file) (Backing up in text filekeypad keys) (Keypad keysBACKUP) (BACKUP function) (FunctionsBACKUP) To back up the cursor to the first character in the current word, press (BACKUP) and (WORD).

Before: East Mayhem, New Hamps(h)ire

After: East Mayhem, New (H)ampshire

If you press (WORD) again and again, KED continues to back up the cursor until you reverse direction by pressing (ADVANCE). (Advancing)

(Keypad keysadvancing in text file) (Advancing in text filekeypad keys) (Keypad keysADVANCE) (ADVANCE function) (FunctionsADVANCE) To advance the cursor to the first character in the succeeding word, press (ADVANCE) and (WORD).

Before: East May(h)em, New Hampshire

After: East Mayhem, (N)ew Hampshire

If you press (WORD) again and again, KED continues to advance the cursor until you reverse direction by pressing (BACKUP). (Moving by Line\LINE_SEC)

(Moving byline) (Linemoving by) A line is one or more characters or words followed by a line terminator.

Keyboard keys and keypad keys move the cursor one line at a time. (Up and Down Arrow Keyboard Keys)

(Keyboard keysarrow) (Arrow functions) (Functionsarrow) The ( (UPARROW) ) and ( (DOWNARROW) ) keys let you move the cursor from line to line. (Backing Up)

(Moving by line tocorresponding character in preceding line) (Corresponding characterin preceding linemoving to) (Arrow keyboard keysbacking up in text file) (Arrow keyboard keysup arrow) (Backing up in text filearrow keyboard keys) (Backing up in text fileup-arrow keyboard key) (Up-arrow keyboard key) (Keyboard keysup arrow) (Up-arrow function) (Functionsup arrow) To back up the cursor to the corresponding character in the preceding line, press ( (UPARROW)).

Before: 123 45 12(3) 45 6789

After: 12(3) 45 123 45 6789

If there is no corresponding character in the preceding line, KED puts the cursor at the end of that line.

Before: 123 45 123 45 67(8)9

After: 123 45( ) 123 45 6789 (Advancing)

(Moving by line tocorresponding character in succeeding line) (Corresponding characterin succeeding linemoving to) (Arrow keyboard keysadvancing in text file) (Arrow keyboard keysdown arrow) (Advancing in text filearrow keyboard keys) (Advancing in text filedown-arrow keyboard key) (Down-arrow keyboard key) (Keyboard keysdown arrow) (Down-arrow function) (Functionsdown arrow) To advance the cursor to the corresponding character in the succeeding line, press ( (DOWNARROW) ).

Before: 1(2)3 45 6789 123 45 6789

After: 123 45 6789 1(2)3 45 6789

If there is no corresponding character in the succeeding line, KED puts the cursor at the end of that line.

Before: 123 45 67(8)9 123 45

After: 123 45 6789 123 45( ) (GOLD Keypad Key and Left-arrow or Right-arrow Keyboard Key)

(GOLD left-arrow function) (FunctionsGOLD and left arrow) (GOLD right-arrow function) (FunctionsGOLD and right arrow) The GOLD keypad key and left-arrow or right-arrow keyboard key move the cursor to the beginning or end of a line. They are not affected by the ADVANCE and BACKUP keypad keys. (Backing Up) (Backing up in text fileGOLD keypad key and left-arrow keyboard key)

To back up the cursor to the beginning of the current line, press (GOLD) and ( (LEFTARROW) ).

Before: 33 Varnish Stre(e)t

After: (3)3 Varnish Street

If the cursor is at the beginning of the line, KED backs it up to the beginning of the preceding line.

Before: 33 Varnish Street (R)umley, Maine

After: (3)3 Varnish Street Rumley, Maine

If you press (GOLD) and ( (LEFTARROW) ) again and again, KED continues to back up the cursor. (Advancing) (Advancing in text fileGOLD keypad key and right-arrow keyboard key)

To advance the cursor to the end of the current line, press (GOLD) and ( (RIGHTARROW) ).

Before: 33 Varnis(h) Street

After: 33 Varnish Street( )

If the cursor is at the end of the line, KED advances it to the end of the succeeding line.

Before: 33 Varnish Street( ) Rumley, Maine

After: 33 Varnish Street Rumley, Maine( )

If you press (GOLD) and ( (RIGHTARROW) ) again and again, KED continues to advance the cursor. (BLINE and EOL Keypad Keys)

The BLINE key and the EOL key move the cursor line by line. (BLINE (Beginning of Line) Key) (Keypad keysBLINE) (BLINE function) (FunctionsBLINE)

The BLINE key moves the cursor to the beginning of a line. (Backing Up)

(Keypad keysbacking up in text file) (Backing up in text filekeypad keys) (Moving by line tobeginning of current or preceding line) (Beginning of current or preceding linemoving to) (Keypad keysBACKUP) (BACKUP function) (FunctionsBACKUP) To back up the cursor to the beginning of the current line, press (BACKUP) and (BLINE).

Before: 33 Varnish Stre(e)t

After: (3)3 Varnish Street

If the cursor is at the beginning of the line, KED backs it up to the beginning of the preceding line.

Before: 33 Varnish Street (R)umley, Maine

After: (3)3 Varnish Street Rumley, Maine

If you press (BLINE) again and again, KED continues to back up the cursor until you reverse direction by pressing (ADVANCE). (Advancing)

(Keypad keysadvancing in text file) (Advancing in text filekeypad keys) (Keypad keysADVANCE) (ADVANCE function) (FunctionsADVANCE) To advance the cursor to the beginning of the succeeding line, press (ADVANCE) and (BLINE).

Before: 33 Varni(s)h Street Rumley, Maine

After: 33 Varnish Street (R)umley, Maine

If you press (BLINE) again and again, KED continues to advance the cursor until you reverse direction by pressing (BACKUP).

The ADVANCE and BACKUP keys affect keypad functions only. They do not affect the arrow keys. (EOL (End of Line) Key) (Keypad keysEOL) (EOL function) (FunctionsEOL) (Moving by line toend of current or preceding line) (End of current or preceding line, moving to)

The EOL key moves the cursor to the end of a line. (Backing Up)

(Keypad keysbacking up in text file) (Backing up in text filekeypad keys) (Keypad keysBACKUP) (BACKUP function) (FunctionsBACKUP) To back up the cursor to the end of the preceding line, press (BACKUP) and (EOL).

Before: 33 Varnish Street Rumley, Mai(n)e

After: 33 Varnish Street( ) Rumley, Maine

If you press (EOL) again and again, KED continues to back up the cursor until you reverse direction by pressing (ADVANCE). (Advancing)

(Keypad keysadvancing in text file) (Advancing in text filekeypad keys) (Keypad keysADVANCE) (ADVANCE function) (FunctionsADVANCE) To advance the cursor to the end of the current line, press (ADVANCE) and (EOL).

Before: 33 Varnis(h) Street

After: 33 Varnish Street( )

If the cursor is at the end of the line, KED advances it to the end of the succeeding line.

Before: 33 Varnish Street( ) Rumley, Maine

After: 33 Varnish Street Rumley, Maine( )

If you press (EOL) again and again, KED continues to advance the cursor until you reverse direction by pressing (BACKUP).

The ADVANCE and BACKUP keys affect keypad functions only. They do not affect the arrow keys. (Moving by Section or Page\SECT_SEC)

(Moving bysection) (Sectionmoving by) (Moving bypage) (Pagemoving by) You can step through a text file in multiple-line jumps by: (simple) Using the KED defaults ((defaults_sec)) or Specifying the length of each jump ((length_sec)) (Using the Defaults\defaults_sec)

(Usingdefaults) (Moving bysectionusing default) (Sectionmoving byusing default) (Moving bypageusing default) (Pagemoving byusing default) The keypad SECTION and PAGE keys let you use the KED defaults in the following ways: (SECTION Key)

(Section default) (Defaultssection) (Keypad keysSECTION) (SECTION function) (FunctionsSECTION) By default, a section is 16 lines of text. (UNNUMBERED) To advance the cursor 16 lines, press (ADVANCE) and (SECTION). (Keypad keysADVANCE) (ADVANCE function) (FunctionsADVANCE)

KED moves the cursor forward to the beginning of the 17th line. To back up the cursor 16 lines, press (BACKUP) and (SECTION). (Keypad keysBACKUP) (BACKUP function) (FunctionsBACKUP)

KED moves the cursor backward to the beginning of the 17th line. (PAGE Key)

(Page default) (Defaultspage) (Keypad keysPAGE) (PAGE function) (FunctionsPAGE) By default, a page is all the text between the cursor and the next form-feed character. (UNNUMBERED) To advance the cursor to the beginning of the succeeding page, press (ADVANCE) and (PAGE). (Keypad keysADVANCE) (ADVANCE function) (FunctionsADVANCE)

KED moves the cursor to the character at the beginning of the succeeding page. To back up the cursor to the beginning of the current page, press (BACKUP) and (PAGE). (Keypad keysBACKUP) (BACKUP function) (FunctionsBACKUP)

If the cursor is at the beginning of a page, KED moves it to the beginning of the preceding page. (Specifying the Length of Sections and Pages\length_sec)

(Moving bysectionspecifying length) (Sectionmoving byspecifying length) (Moving bypagespecifying length) (Pagemoving byspecifying length) You can specify the length of a section and a page and then use the keypad SECTION and PAGE keys interchangeably.

For example, you can: (UNNUMBERED) Specify a section or page to be a certain number of lines of text. Each time you press (SECTION) or (PAGE), KED moves the cursor that number of lines. Specify a section or page to be all the text between occurrences of a character or character string (a marker) that you place in your text file. Each time you press (SECTION) or (PAGE), KED moves the cursor to the first occurrence of that marker. (By Number of Lines\secpaglines_sec)

(Specifyinglength of sections and pages bynumber of lines) (Specifyingsections and pages bynumber of lines) (Specifyingpages bynumber of lines) To specify a section or page to be a certain number of lines of text and to move the cursor: (SET ENTITY SECTION number command) (CommandsSET ENTITY SECTION number) (SET ENTITY PAGE number command) (CommandsSET ENTITY PAGE number) (NUMBERED) Press (GOLD) and (COMMAND). In response to the command prompt, type: (SET [ENTITY] SECTION number [LINES])

or (SET [ENTITY] PAGE number [LINES])

(number) can be from 1 to 32767. Press (ENTER). Press (BACKUP) or (ADVANCE) and (SECTION) or (PAGE).

KED moves the cursor the number of lines you specified.

Examples: (unnumbered) To specify a section to be 35 lines of text:

((GOLD) (COMMAND)) (SET SECTION 35 (ENTER))

Then, press (BACKUP) or (ADVANCE) and (SECTION). To specify a page to be 100 lines of text:

((GOLD) (COMMAND)) (SET PAGE 100 (ENTER))

Then, press (BACKUP) or (ADVANCE) and (PAGE). (By Marker\secpagmark_sec)

(Markers) (Specifyinglength of sections and pages bymarker) (Specifyingsections and pages bymarker) (Specifyingpages bymarker) To specify a section or page to be all the text between occurrences of a marker and to move the cursor: (SET ENTITY SECTION marker command) (CommandsSET ENTITY SECTION marker) (SET ENTITY PAGE marker command) (CommandsSET ENTITY PAGE marker) (NUMBERED) If you do not want to use existing text as a marker, place an appropriate marker in your text file as many times as it will be needed.

Your marker can be a printing character, a string of printing characters, or any nonprinting line terminator. For a section, it can be no longer than 51 characters. For a page, it can be no longer than 53 characters.

By default, KED does not distinguish between uppercase and lowercase letters. To make KED recognize the case of letters, see (case_sec). Press (GOLD) and (COMMAND). In response to the command prompt, type: (SET [ENTITY] SECTION marker)

or (SET [ENTITY] PAGE marker)

(marker) is existing text or the character, character string, or line terminator you selected in step 1, enclosed by single ((')) or double ((")) quotation marks. Press (ENTER). Press (BACKUP) or (ADVANCE) and (SECTION) or (PAGE).

KED moves the cursor to the marker you specified.

Examples: (unnumbered) To specify a section to be all the text between occurrences of the marker NEXTSECT:

((GOLD) (COMMAND)) (SET SECTION "NEXTSECT" (ENTER)) or ((GOLD) (COMMAND)) (SET SECTION 'NEXTSECT' (ENTER))

Then, press (BACKUP) or (ADVANCE) and (SECTION). To specify a page to be all the text between occurrences of the marker NEXTPAGE:

((GOLD) (COMMAND)) (SET PAGE "NEXTPAGE" (ENTER)) or ((GOLD) (COMMAND)) (SET PAGE 'NEXTPAGE' (ENTER))

Then, press (BACKUP) or (ADVANCE) and (PAGE). (Moving to the End or Beginning of Your Text File\endbegin_SEC)

(Text filemoving to beginning or end) Keypad and keyboard keys let you move the cursor to the end or beginning of your text file. (Keypad keysBOTTOM) (BOTTOM function) (FunctionsBOTTOM) (unnumbered) To advance the cursor from its current location to the end of your file, press:

(GOLD) and (BOTTOM) or (GOLD) and (GOLD down-arrow function) (FunctionsGOLD and down arrow) ( (downARROW) ) (Moving toend of text file) (End of text file, moving to) (Keypad keysadvancing in text file) (Advancing in text filekeypad keys)

KED moves the cursor to the end-of-file marker at the end of your file. (Keypad keysTOP) (TOP function) (FunctionsTOP) To back up the cursor from its current location to the beginning of your file, press:

(GOLD) and (TOP) or (GOLD) and (GOLD up-arrow function) (FunctionsGOLD and up arrow) ( (upARROW) ) (Moving tobeginning of text file) (Beginning of text file, moving to) (Keypad keysbacking up in text file) (Backing up in text filekeypad keys)

KED moves the cursor to the beginning of your file.

When the cursor is far enough from the end or beginning of your file, KED (WORKING... message) (MessagesWORKING...) temporarily displays the message (WORKING...) to let you know that nothing is wrong and that the cursor is still moving. (Moving Directly to Any Point in Your Text File\DIRECT_SEC)

(Moving toany point in text file) (Text filemoving to any point in) KED gives you a search operation that can move the cursor directly to any point in your text file.

(Keypad keysFIND) (FIND function) (FunctionsFIND) To start your search: (NUMBERED) Press (GOLD) and (FIND).

KED displays its model prompt. (Model: ) Type the character string you are looking for. It can be up to 60 characters long and can contain any printing character or any line terminator.

You can press () (the delete key) or (CTRL/U) to correct any typing errors. If you press (CTRL/C), KED deletes (Keyboard keysCTRL/C) (CTRL/C function) (FunctionsCTRL/C) its model prompt and your character string and restores the screen display. Press one of the following keys: (simple) (ADVANCE) or (BACKUP) to enter your search model, specify your (Keypad keysADVANCE) (ADVANCE function) (FunctionsADVANCE) (Keypad keysBACKUP) (BACKUP function) (FunctionsBACKUP) search direction, and start the search. (ENTER) to enter your search model without starting the search. You (Keypad keysENTER) (ENTER function) (FunctionsENTER) must press (FINDNEXT) to start the search. ( (uparrow) ) to enter your search model and search backward (Up-arrow keyboard key) (Keyboard keysup arrow) (Up-arrow function) (Functionsup arrow) without changing the keypad directional mode. ( (downarrow) ) to enter your search model and search (Down-arrow keyboard key) (Keyboard keysdown arrow) (Down-arrow function) (Functionsdown arrow) forward without changing the keypad directional mode.

KED places your character string in a search buffer, and then searches forward or backward from the current location of the cursor to the end or the beginning of your file. When the cursor is far enough from your character string, KED temporarily displays the message (WORKING...) to let you know that nothing is wrong and that the cursor is still moving.

In other words: (simple) ((GOLD) (FIND)) (character-string (ADVANCE)) or ((GOLD) (FIND)) (character-string (BACKUP)) or ((GOLD) (FIND)) (character-string (ENTER)) or ((GOLD) (FIND)) (character-string (FINDNEXT)) or ((GOLD) (FIND)) (character-string ((uparrow))) or ((GOLD) (FIND)) (character-string ( (downarrow)))

To continue your search or to start a search after pressing (ENTER), press (FINDNEXT). (Keypad keysFINDNEXT) (FINDNEXT function) (FunctionsFINDNEXT) (UNNUMBERED) If you are at the end of your file or page, press (BACKUP) and (FINDNEXT). If you are at the beginning of your file or page, press (ADVANCE) and (FINDNEXT).

If KED finds your character string, it moves the cursor to the first character in that string. If KED does not find your character string, it signals you by sounding a beeper or reversing the text and background on your terminal. If you press (HELP), KED displays: Target not found

If you press (GOLD) and (FIND) and then decide you do not want to (Keypad keysENTER) (ENTER function) (FunctionsENTER) look for a character string, press (ENTER). KED will respond by deleting its model prompt. (Distinguishing Between Uppercase and Lowercase Letters\CASE_SEC)

(Moving toany point in text filedistinguishing between uppercase and lowercase letters) (Text filemoving to any point indistinguishing between uppercase and lowercase letters) (Uppercase and lowercase letters, distinguishing between) (Lowercase and uppercase letters, distinguishing between) (Letterslowercase and uppercasedistinguishing between) By default, KED does not distinguish between uppercase and lowercase letters. For example, (SYMBOL) is the same as (Symbol) or (symbol).

To set KED so it will distinguish between uppercase and lowercase letters: (SET SEARCH EXACT command) (CommandsSET SEARCH EXACT) (NUMBERED) Press (GOLD) and (COMMAND). In response to the command prompt, type: (SET [SEARCH] EXACT) Press (ENTER).

KED will now distinguish between uppercase and lowercase letters. For example, (SYMBOL), (Symbol), (symbol) are now three different character strings.

In other words: (simple) ((GOLD) (COMMAND)) (SET EXACT (ENTER))

Then, start your search as described in (direct_sec).

To reset KED to its default: (simple) (SET SEARCH GENERAL command) (CommandsSET SEARCH GENERAL) ((GOLD) (COMMAND)) (SET GENERAL (ENTER))

KED will no longer distinguish between uppercase and lowercase letters. (Moving to the End of Your Search String)

(Moving toany point in text filemoving to end of search string) (Text filemoving to any point inmoving to end of search string) (Moving toend of search string) (End of search string, moving to) (Search string, moving to end) By default, KED moves the cursor to the first character of the string it finds.

To set KED so it will move the cursor to the right of the last character in your search string: (SET SEARCH END command) (CommandsSET SEARCH END) (NUMBERED) Press (GOLD) and (COMMAND). In response to the command prompt, type: (SET [SEARCH] END) Press (ENTER).

KED will now move the cursor to the right of the last character of the string it finds.

In other words: (simple) ((GOLD) (COMMAND)) (SET END (ENTER))

Then, start your search as described in (direct_sec).

To reset KED to its default: (simple) (SET SEARCH BEGIN command) (CommandsSET SEARCH BEGIN) ((GOLD) (COMMAND)) (SET BEGIN (ENTER))

KED will now move the cursor to the first character of the string it finds. (Limiting the Area of Your Search\limitarea_sec)

(Moving toany point in text filelimiting area of search) (Text filemoving to any point inlimiting area of search) (Limiting area of search) (Area of search, limiting) (Search, limiting area) By default, KED continues a search to the end or beginning of your file.

To limit your search to the current page of text: (SET SEARCH BOUNDED command) (CommandsSET SEARCH BOUNDED) (NUMBERED) Press (GOLD) and (COMMAND). In response to the command prompt, type: (SET [SEARCH] BOUNDED) Press (ENTER).

KED will now limit its search to the current page. By default, that page is all the text between the cursor and the next form-feed character. You may have used the SET ENTITY PAGE command to specify that page as a certain number of lines of text ((secpaglines_sec)) or as all the text between the cursor and a marker ((secpagmark_sec)).

In other words: (simple) ((GOLD) (COMMAND)) (SET BOUNDED (ENTER))

Then, start your search as described in (direct_sec). (unnumbered) If you start your search by pressing (ADVANCE), KED searches to the (Keypad keysADVANCE) (ADVANCE function) (FunctionsADVANCE) end of the page. If you start your search by pressing (BACKUP), KED searches to the (Keypad keysBACKUP) (BACKUP function) (FunctionsBACKUP) beginning of the page. If KED does not find your search string on the current page, it signals you by sounding a beeper or reversing the text and background on your terminal. If you press (HELP), KED displays: Bounded search reached bound

To reset KED to its default: (simple) (SET SEARCH UNBOUNDED command) (CommandsSET SEARCH UNBOUNDED) (GOLD) (COMMAND) (SET UNBOUNDED) (ENTER) (Controlling Cursor Movement When Search String Is Not Found)

By default, the cursor remains in its current position when your search string is not found.

To set KED so it will move the cursor to the end or beginning of your file when your search string is not found: (SET SEARCH NORETURN command) (CommandsSET SEARCH NORETURN) (NUMBERED) Press (GOLD) and (COMMAND). In response to the command prompt, type: (SET [SEARCH] NORETURN) Press (ENTER).

KED will now move the cursor to the end or beginning of your file when your search string is not found.

In other words: (simple) ((GOLD) (COMMAND)) (SET NORETURN (ENTER))

Then, start your search as described in (direct_sec).

To reset KED to its default: (simple) (SET SEARCH RETURN command) (CommandsSET SEARCH RETURN) ((GOLD) (COMMAND)) (SET RETURN (ENTER)) (What Next?)

Now that you know how to move the cursor to any point in your text file, you can make all the many useful changes described in (edit_chap). That chapter shows you how to: (simple) Delete and restore a character. Delete and restore a word. Delete and restore a line of text. Insert a blank line. Delete a large section of text. Insert a new section of text in multiple locations. Remove a section of text from one place in your file and insert it in another place. Empty the paste buffer. Replace a section of text with another section. Substitute a character string for multiple occurrences of another character string. Change alphabetic characters from uppercase to lowercase or lowercase to uppercase. Repeat KED editing operations.