Tommaso Cucinotta wrote:
>>
>>   Edit -> Paste Special -> Simple Text (by Lines) (C-S-v),
>>
>> then the pasted line gets itemized, numbered, etc., i.e., the format is 
>> copied instead of being ignored as I thought it should have been.
>>
>> Is this a bug ? Should it be reported on the Trac, or is there an entry 
>> for this ?
>
> After a look at the code, I'm puzzled with the purpose and functionality of 
> the related LFUNs:
>         { LFUN_PASTE, "paste", Noop, Edit },
>         { LFUN_CLIPBOARD_PASTE, "clipboard-paste", Noop, Edit },
>         { LFUN_PRIMARY_SELECTION_PASTE, "primary-selection-paste", Noop, 
> Edit },
>         { LFUN_SELECTION_PASTE, "selection-paste", Noop, Edit },
>
> even after reading the explanations in LyXAction.cpp [1]. Furthermore, I 
> can't get the meaning/purpose of "Paste Special -> Selection *" menu 

select some text. now if you go to the menu, the items will be enabled.
not much of use for menu, rather for middle-button pasting.

> entries. Some of these seem to differ in behavior w.r.t. to the source of 
> the paste operation: the "internal clipboard" (theCuts[]) vs the Qt 
> clipboard. I wonder how much users actually manage to distinguish among 
> these.
>
> Can anyone please clarify ? Thanks, bye,

paste is able to cope with various graphics stuff, clipboard-paste pushes only
text. the rest is usable for middle button pasting - primary-selection-paste
pushes whats in selection stack (i.e. select something in terminal and middle
button for putting inside lyx). selection-paste takes selected text inside
lyx window push it into stack and then again paste it into text.

so the bug might be that by 'simple text' we mean text without pictures
rather than text without formating.
pavel

Reply via email to