This is very strange.
In HeidiSQL 9.1.0.4867 that I downloaded on Dec 11, I can paste into the Query box.
But, if I install the same version from your download page, I can not paste.
Also, upgrading from the working version to the latest version inside the program results in not being able to paste either.
Windows 8.1, 64-bit
I hope this report helps.