Join Lines And Justify [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation
HP EDIT Reference Manual
Join Lines And Justify
Purpose
Merges and right justifies the text of two or more lines.
Default Syntax
[n] ESC j
Where n is a count that represents the number of lines following the
cursor line to be joined and justified. The default value of n is 1.
Description
The function of this command is identical to the Join Lines command
except that this command right justifies the joined lines so that both
the left and right margins are even. To justify the right margin, HP
EDIT adds space between selected words on a line. Refer to the Join
Lines command for information regarding the join length and other
pertinent information.
Procedures
To join two lines:
1. Move the cursor anywhere on the first line.
2. Press ESC and the j key. HP EDIT joins as many words from the
second line as possible within the join length boundary.
To join several lines, either:
1. Move the cursor anywhere on the first line of the group of lines
to be joined.
2. Press ESC and the j key repeatedly until the last line of the
group has been joined.
or
[REV BEG]
1. Specify a count. This value represents the number of lines you
want to join beginning at the current line. Do not include the
current line in the count.
2. Press ESC and the j key. HP EDIT joins the lines within the join
length boundary and right justifies them.
or
1. Select a block.
2. Press ESC and the j key. HP EDIT joins the lines within the block
and right justifies them.
[REV END]
Examples
To join the following lines with a join length of 50:
This sample line will be joined to the next line
and right justified when you execute the command.
1. Move the cursor anywhere on the first line.
2. Press ESC and the j key. HP EDIT joins and right justifies the
lines as shown:
This sample line will be joined to the next
line and right justified when you execute the
command.
Related Commands
Join Lines
Right Justify Line
MPE/iX 5.0 Documentation