I could be wrong, but it sounds like you want a way to keep the mouse cursor moving in a straight line. For cropping, I’m not sure why this would be necessary, since you can drag edges of a crop rectangle - not just the corners. For retouching lines, how often are they purely horizontal or vertical? I just zoom in further and keep the brush as small as possible. That said, this old feature request might be partially relevant: