mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
* src/CutAndPaste.cpp (saveSelection): clarify comment about commenting persistent selection out.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18982 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
08f31f3e64
commit
966c48abc6
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user