beautypg.com

How to copy a line, How to replace one character, Advanced editing – Gasboy CFN III Manager Manual V3.6 User Manual

Page 192: How to move the cursor to a specified character, Advanced editing -8, How to move the cursor to a specified character -8

background image

Using Text Editors

Advanced Editing

Page 18-8 MDE-4871 CFN III Manager’s Manual for Windows® XP Embedded - Version 3.6 · August 2010

How to Copy a Line

You can use the commands to copy a line in edit mode and insert mode. ^Y Yanks a copy of
the current line into a temporary buffer, and ^P puts the copy below the current line.

1

Move the cursor to the line you want to copy.

2

Type ^Y. The current line is unchanged, and a duplicate of it is placed in a temporary buffer.

3

Move the cursor to the line above where you want the copied line to go.

4

Type ^P. The copied line will be placed below the current line.

How to Replace One Character

The command to replace one character with another can be executed only in Edit mode. The
command x or X replaces one character with another.

1

If you are not in edit mode, type ^E to get into edit mode.

2

Put the cursor on the character you want replaced.

3

Type x.
The status line will display edit: eXchange.

4

Type the character that will replace the one under the cursor.

You can cancel the x command by typing ^H (H for halt) instead of entering the exchange
character (^H functions only to terminate the command).

Advanced Editing

The commands described in this section allow you to do complex editing functions. They are
not usually required for editing Site Controller files.

How to Move the Cursor to a Specified Character

Use the Edit Mode SEARCH command to search for a specified character on the current line
only (not in the entire document). The search starts to the right of the cursor. You must be in
Edit mode to use the search command.

1

If you are not in Edit mode, type ^E to get into Edit mode.

2

Type s or S.
The status line will display edit: search.

3

Enter the character you want to search for.

• The cursor will move to the next occurrence of that character to the right on the current

line.

• If the character is not on the current line, the cursor will move to the end of the line.

This manual is related to the following products: