BMS Editor Margins Options
You can use the settings in Tools > Options > Text Editor > BMS and on the Margins page to display the margins and the ruler.
BMS Editor Scroll Bars
The preferences page, in Tools > Options > Text Editor > BMS > Scroll Bars enables you to configure the behavior of the scroll bars in the IDE.