IMS Editor Margins Options

You can use the settings in Tools > Options > Text Editor > IMS and on the Margins page to display the margins and the ruler.
Margins
Show margins
Displays the margins in the editor.
Show the ruler
Check this to view the ruler in the editor.
Mainframe style
Check this to display the Mainframe style of the ruler.