Options -> Display Line Numbers
Displaying the line numbers on the lefthand side of each script can be switched on/off here. Default is on.