You can use editor commands to customize your editing environment, search for or change text in your document, or perform many other functions.
To issue an editor command:
add 1
to add a new line into the document.
To recall a previously used command:
A parameter that does not conflict with the command names available in the current editor view is interpreted as an implicit query or set command for that parameter. For example, entering:
is equivalent to:version
and will display on the message line the editor version in use. When additional parameters are specified, the editor will attempt to run the set command. For example:query version
is interpreted by the editor as:hex e1
and sets the character at the current cursor location to the character with the specified hexadecimal value.set hex e1
Editor actions are usually associated with keys, mouse events, and menus. You can also run actions from the command line, using the action command. This is useful when you are developing your own editor extensions. For example:
will run the duplicateLine action, copying the current line.action duplicateLine
Default editor commands
Editor parameters
Default editor actions
Copyright IBM Corporation 1992, 2005. All Rights Reserved.