I am working on Linux system and middle click on Linux is an easy shortcut to paste the last selected text. In matlab editor, I was able to use this functionality without any problem until last few days. But recently, it has stopped working properly. (update: See answers below for workaround and reasons)
Now, the middle click works fine when I am using it to paste stuff in the same tab (or same file) in editor. But when I change the tab in editor it no longer pastes the correct text. Instead it always pastes "1.0" (without quotes). I don't know what changed which broke this functionality.
System details: Ubuntu 11.04 (64-bit) Kernel Linux 2.6.38-13-generic Matlab 126.96.36.1995 (R2011a)