Georg Baum wrote:
As long as these requirements are fulfilled I don't care very much whether the middle mouse button preserves formatting if it pastes something from within LyX or not. I do care about the format of the external selection: That should always be plain text, definitely not LyX syntax.
OK, Georg, believe me or not this patch is exactly what I started to do :-)... I even erased the haveSelection() methods and was about to ask what was its purpose!
I have to objection with the patch except this. +CutStack selection(1); should be +CutStack selection; That's it. Please commit once it's working. Abdel.