This is just a comment and I am not calling this a bug. Just an unwanted feature.
Miss the beginning of the 1st column in the SQL editor and touch the left margin instead, the SQL code ROLLS Up, out of sight.
Since the release which added this feature I have never once used this feature on purpose. I have often WISHED it was not there. If I slow down, and am careful, this feature does not hurt me too much. But if I move too fast, my code ROLLS UP and out of site. I have to go find it and get back to where I was. This feature was not added for efficiency.