Step 6 Word Wrap

Visual LANSA

Step 6. Word Wrap

VED010 - Format Source Code

In this step you will change the word wrapping options in the Source view.  Word wrapping is used to control how single lines of code are displayed in the editor. Wrapping will ensure that the complete line of code is viewable in the current width of the Source tab.

1.  On the File menu select Options, to open the LANSA Settings dialog.

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

b.  Expand the Word Wrap options.

c.  Select the None option. The default (shipped) setting is Smart word wrap.

d.  Click Apply and then OK.

2.   Each line of source code is now shown as a single line.

 

     Optional: You can try the other Word Wrap settings to see how they impact the code display.

4.Open the Settings dialog again and reset the Word Wrap setting to Smart.

5.  Close the iiiSettingsDialog form in the editor.

     Close the form using the blue cross at the top right of the editor.

     No changes should have been made to the code. (If you have made a change by mistake, simply press No when asked to save changes.)

6.  The editor will display the iiiDeptQuery function.