I do extensive editing of text files using gedit. If I use the scroll wheel to move back and forth in the file, sometimes a blank line is inserted in the file. This is not obvious when it occurs. I discover the blank line(s) later, so I don't know where I was in the file relative to where the blank line gets inserted. The only way I have found not to have blank lines inserted is not to use the scroll wheel. Has anybody else noticed this behavior? Any ideas how to get it corrected?
So I think what's happening is it's registering as if you're clicking the scroll wheel (which is the same as 'middle click'. This may fix it: https://wiki.ubuntu.com/X/Config/Input#Example:_Disabling_middle-mouse_button_paste_on_a_scrollwheel_mouse