On Tue, Jan 04, 2011 at 12:12:30PM +0100, Jean-Marc Lasgouttes wrote: > Le 4 janv. 2011 à 10:53, Pavel Sanda a écrit : > > > Jean-Marc Lasgouttes wrote: > >>> JMarc, could you improve the description doxies for selection-paste and > >>> primary-selection-paste ? > >> > >> I do not know much besides what is written there. I presume that > >> the change I did at the time was just mechanical. > > > > to me its not clear what is meant by 'permanent selection'... > > Same for me. Enrico, do you know about that?
Select something in LyX and then left-click away. Now the selection disappears but you can still middle-paste the previosly selected text. That's the permanent selection thingie: until you select something else, the old selection is still available. However, the way LyX interacts with other applications through the selection is somewhat fishy. For example, try the following. 1) Select something in LyX and then left-click away. Selection disappears, but you can still middle-paste the old selection within LyX. If you now try middle-pasting to an external application (a terminal, for example) nothing gets pasted. 2) Select something in LyX and then middle-paste into an external application. Now left-click away in LyX. Selections disappears, but you can still middle-paste the old selection both within LyX and into the external application! So, it seems that pasting the selection into an external application before left-clicking away, makes the selection itself permanent also outside LyX. Performing the same experiment with Vim, the selection is really permanent also for external applications in both cases 1) and 2) above. -- Enrico