XEDIT Commands

The following is a list of the XEDIT prefix area commands that you can use in the Source view (found in the View Settings - Key Behaviour) or the Editor window (select Options, then Key behaviour). To process them, type the commands that you want over the sequence numbers in the prefix area, hold down the Alt key, and then press Enter.

A
Add a blank line after the current line.
A n
Move or copy lines after this line and repeat these lines n times.
C
Copy this line to the specified target.
CC
Copy the block of lines between the two CC commands.
D
Delete this line.
D n
Delete this and the following n-1 lines.
DD
Delete all lines between the two DD commands.
F
Copy or move one or more lines to after the current line.
I
Insert a blank line after the current line.
I n
Insert n blank lines after the current line.
M
Move a line to the specified target.
MM
Move all lines between the two MM commands to a specified target.
P
Copy or move one or more lines to before the current line.
S
Show all the hidden lines in an exclude group.
S*
Show all the hidden lines in an exclude group.
S n
Show the first n lines in an exclude group.
S+ n
Show the first n lines in an exclude group.
S- n
Show the last n lines in an exclude group.
X
Exclude this line from the display.
X n
Exclude this line and the next n-1 lines from the display.
X*
Exclude the lines from the current line to the end of the file from the display.
XX
Exclude all the lines between the two XX commands from the display.
>
Shift the data in this line one character position to the right.
> n
Shift. the data in this line n character positions to the right.
>>
Shift the data between the two >> commands one character position to the right.
>> n
Shift the data between the two >> commands n character positions to the right.
<
Shift the data in this line one character position to the left.
< n
Shift. the data in this line n character positions to the left
<<
Shift the data between the two << commands one character position to the left.
<< n
Shift the data between the two << commands n character positions to the left.
)
Shift the data in this line one character position to the right. Any data that appeared in the last column will be removed.
) n
Shift the data in this line n character positions to the right. Any data in the last n columns will be removed.
))
Shift the data between the two )) commands one character position to the right. Any data that appeared in the last column will be removed.
)) n
Shift the data between the two )) commands ncharacter positions to the right. Any data in the last n columns will be removed.
(
Shift the data in this line one character position to the left. Any data that appeared in the first column will be removed.
( n
Shift the data in this line n character positions to the left. Any data in the first n columns will be removed.
((
Shift the data between the two (( commands one character position to the left. Any data in the first column will be removed.
(( n
Shift the data between the two (( commands ncharacter positions to the left. Any data in the first n columns will be removed.
"
Copy this line immediately below itself.
" n
Copy this line immediately below itself it n times.
""
Copy the lines between the two "" commands immediately below itself.
/
Move the current line to the top of the edit window.