mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
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:
parent
14fd0298b9
commit
ff6baf9a44
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user