How do I display source line numbers?

If you want to display line numbers for a source file that you have open in the Code window, select Advancedimage\optarrow.gifShow Line Numbers from the Code window Edit menu. The setting persists for this session only.

You can change a setting in your Workspace Options window (or Options window if you are not working with a workspace) so that line numbers are shown by default:

1.   Select WorkspaceWorkspace Options… from the Code window File menu to display the Workspace Options window

2.    In the left pane, expand the ALL group, and click on Edit:

image\iniedit.gif

3.    In the right pane, right-click on Line number:

image\linenum.gif

4.   Select True from the context menu to display line numbers.

image\lamp.gifUse the same procedure, setting Line number to False to disable source line numbers.

Related Topics