<< to_utf8(cur.selectionAsString(true)) << "'."
<< endl;
+#if 0
// FIXME: The two lines below would allow middle-mouse
// pasting that preserves the LyX formatting when the selection
// is internal. They would also allow to use the feature on
// Windows and Mac. In the future, we may want to optionally enable
// this feature via a rc setting.
- /*
+ // This is currently disabled because it eats too much resources
+ // while selecting (cf. bug 3877)
if (cur.selection())
copySelectionToStack(cur, selectionBuffer);
- */
+#endif
// tell X whether we now have a valid selection
theSelection().haveSelection(cur.selection());