Le 19 avr. 10 à 23:36, [email protected] a écrit :
This introduces a new LFUN LFUN_INSET_COPY_AS, which copies a certain Inset to the clipboard. For InsetInfo this is the text that is visible, but this could also replace LFUN_LABEL_COPY_AS_REF, by copying the INSET to the clipboard as a reference, and also a Math inset to copy to the clipboard as latex (including $'s or \[..\]).

I fear that the semantics of the function becomes very vague with time.
Is inset info supposed to check the argument?

Note that you could define generic implementations for copying to text and latex with little effort.
Or do we really want to copy more than a text string?

JMarc

Reply via email to