Try invoking the View>Line Numbers command.