Step 5 Editor Source Settings

Visual LANSA

Step 5. Editor Source Settings

VED010 - Format Source Code

In this step you will change the line numbering and indentation options in the Source view. You will view the form's source code and see how to control the component definitions.

1.  Switch to the iiiSettingsDialog form in the editor by using the Previous or Next  buttons on the toolbar.

     You can also do this 'switch' using the Open Objects menu or the Outline tab.

     Notice that the source code is showing the details for all component definitions:

2.  Using the File menu, select Options to open the LANSA Settings dialog.

3.  Select the Source icon to view the source code options.

a.  Select the Indentation and Line Numbers options.

b.  Deselect the Component Definitions option.

b.  Press Apply.

4.  You will see that the source code is now showing indent lines and line numbers.

     Note that the component definitions (Define_Com) are now compressed so that only the first definition of each set is shown.

5.  Reset the Editor Source Settings to remove the Line numbers and Indentation Lines and to show all Component Definition lines.