]> git.lyx.org Git - features.git/commitdiff
* src/CutAndPaste.cpp (saveSelection): clarify comment about commenting persistent...
authorJürgen Spitzmüller <spitz@lyx.org>
Wed, 4 Jul 2007 06:05:23 +0000 (06:05 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Wed, 4 Jul 2007 06:05:23 +0000 (06:05 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18982 a592a061-630c-0410-9148-cb99ea01b6c8

src/CutAndPaste.cpp

index f66153f7393b329495c284c5afd979553ee5a3e7..06b60df14da680df4cd343bada141917ef26a991 100644 (file)
@@ -676,15 +676,17 @@ void saveSelection(Cursor & cur)
               << 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());