As far as I know, in 4r4, if you begin a stroke, then hold down shift, it will paint in straight lines, along 45 degree increments, (so up, down, left, right and all the diagonals) averaging in the direction of your stroke. It's based on the camera as well, so if you lock to a orthographic view, it's exactly straight.