Commands Summary

The Source view and the Editor window are fully programmable through the use of an extensive Editor command set. You can use commands to customize the Source view and the Editor window, search for or change text in your document, or perform many other functions.

Select the appropriate command from the table below to display a complete description (including an example).

 

Command Name Description

= (equal sign) Re-runs the most-recently run Editor command.
add Adds one or more blank lines.
alarm Produces a tone on the speaker.
all Shows all lines or those selected by a command.
begin Moves the cursor to the beginning of the current line.
block Manipulates a block of text.
bottom Moves the current position to the bottom of the file.
change Substitutes one string for another.
check Takes a checkpoint.
clip Provides clipboard functions for the Editor.
compare Examines two documents for differences in their content.
delete Deletes one or more lines.
detab Expands tabs to blanks.
dialog Invokes an Editor dialog.
dup Duplicates the current line.
end Moves cursor position to the end of the current line.
entab Compresses blanks to tabs.
exit Closes the Editor.
extract Obtains the value of Editor parameters when REXX is active.
file Closes all file views of the file, saving the changes.
find Find a specific string or line.
focus Moves the current position to the focus line.
get Gets a file and inserts it after the current line.
godoc Go to or create a named document.
goring Move to or create a new ring in the Editor window.
goview Displays or creates the specified file view.
help Returns help information on a requested command or parameter.
insert Inserts a text string after the current line.
keyread Waits for a key to be pressed.
lineread Produces a dialog that reads a string of characters.
load This command reads a specified file (no lines wider than 2500 characters) into an empty Editor window as a simple list of elements.
lx Loads or creates the named file.
lxc Issues command as though from the command line.
lxi Issues command as though invoked interactively.
lxn Issues an Editor command without searching for a macro.
lxr Issues one or more resolved commands.
macro Searches the directories listed in the LPATH4 or CPPLPATH4 environment variables for a macro file, then processes it.
macrodrop Removes the named macro from internal storage
macroload Preloads an Editor macro into internal storage.
mark Sets up or finds a position mark.
msg Displays a specified message.
mult Issues a series of commands.
next Moves the current position to next object (level, class or word).
openclose Adds or deletes a blank line.
prefixprocess Executes all commands found in the prefix entry fields.
prefixrenumber Reorders the numeric part of the prefix data into unique ascending numbers.
preserve Saves current settings to be restored later.
prev Moves current position to previous object (line, level, class or word).
primitive Performs a keyboard or other simple function from a macro.
print Prints the current document.
qquit Quits from current file view without saving changes.
query Queries one or more parameters.
quit Quits current file view if no changes have been made.
quitview Quits current file view.
record Records keystrokes to a macro file.
repeat Repeats a command a specified number of times.
reset Resets selected Editor settings to their initial value.
restore Restores file status.
save Saves the contents of the current editing window into a file.
saveall Invokes an Editor command or macro after saving user-specifiable set of modified files.
scroll Scrolls a specified number of lines or columns of the file.
set Specifies the value for an Editor parameter.
setoldlines Sets the old line value for each line to its current line number.
showfont Displays the content of the character set.
sort Sorts lines of text.
splitjoin Splits a line or joins two lines.
sshow Refreshes a file view.
start Invokes an operating system command to run in a separate process.
submit Invokes an Editor macro to run on a secondary thread, thereby allowing the user to continue interacting with the Editor.
substitute Causes symbol substitution.
top Moves the cursor position to the top of the file.
trigger Enables live parsing of pending lines.
undo Undo one or more sets of file changes.
unlink Unlinks a previously linked external command.


Parameters Summary