I am on Windows 10. I will have a look at another Win version later.
The SynEdit component doesn't have code to even paint such a "square". So whatever it is, it is a bug somewhere.
Hence, there is no option to switch it.
And hence, to fix it, I must be able to reproduce it.
Also, the source editor is a SynEdit too. So it's curious it is ok there (no square)....
When you get the square, and you move the mouse over the gutter (the line numbers) => Does the square follow all the way?
What if you move the mouse (with button down) outside the SynEdit => does the square follow (extend to outside the SynEdit)?