Fix bug 3877.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18975 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-07-03 17:11:05 +00:00
parent 14fd0298b9
commit ff6baf9a44

View File

@ -676,8 +676,16 @@ void saveSelection(Cursor & cur)
<< to_utf8(cur.selectionAsString(true)) << "'."
<< endl;
// 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.
/*
if (cur.selection())
copySelectionToStack(cur, selectionBuffer);
*/
// tell X whether we now have a valid selection
theSelection().haveSelection(cur.selection());
}