You can display the vertical ruler in the Program Listing area to see the line numbers for statements in the active program.
To display a ruler in the Program Listing area
The Preferences dialog opens.
The Preferences dialog opens Text Editors page.
The Program Listing area displays a vertical rule showing the line numbers for all statements in the program.