Can't you just use the "Snap" button on the menu bar right above the bar numbers area?
When I hover over that button, I get this

"Enable this to snap to the nearest beat when selecting a region of audio."

When you click the button, it turns dark grey so you know it's enabled.
Am I missing something in the original question?

LLOYD S