Macros and Profiles

Much of the Editor's flexibility come from profiles, which are text files containing Editor commands. Profiles are a specialized form of Editor macro files. Some of the profiles supplied with the Editor provide specific editing features and run automatically at specific times. You can also define your own profiles and macros and run them at any time you want.

Standard Editor Profiles

The standard Editor profiles are kept in the macros directory.

Note: Uses the /usr/vatools/macros directory.
Uses the product_installation\macros directory.

You can edit these profiles directly, but if you change them incorrectly, the behavior of the Editor may be affected. Instead, if you need to modify the behavior of the Editor, do so by defining load profiles.

The following types of profiles are provided with the Editor:

xxx.LXS
This profile runs whenever a file with filename type xxx is saved, including autosaves. Use of this profile is optional. For example, you could create an CPP.LXS profile to be run when files with a CPP source type are saved.
xxx.LXL
This profile runs whenever a file with filename type xxx is loaded, or opened for editing. Use of this profile is optional. For example, you could create an CPP.LXS profile to be run when files with a CPP source type are opened for editing.
PROFILE.LX
This is a profile in which you can save your own customization commands. It is the last standard profile that is run before a file is opened, and its commands override the commands used in previous profiles.


Use Profiles to Modify Editor Behavior
Write Macros for the Editor