An idea André came up with we discussed how to fix the broken tabular paste
mechanism:
http://www.mail-archive.com/lyx-devel%40lists.lyx.org/msg80808.html

Thanks for the link. The MIME method is more general than this. I
propose that we let frontend do all the copy/paste business, and the
process goes like this:

lyx core tells a frontend a copy (or cut) is needed, with type of
content (text, math, or cells), region of selection (needed ?). The
frontend gets and codes the content in native lyx format, *and* text
format, *and* maybe image format if necessary.

The frontend of (maybe another instance of ) lyx is asked to paste. It
checks the system clipboard for native lyx (text, formula or cell),
text, image formats (in that order), and paste if applicable. Two lyx
sessions can therefore exchange information freely in native format.
This actually reduce the need for multiple view of a lyx window.

Other application can not read/write clipboard in native lyx format
and will only provide/get text or image.

Opinion?
Bo

Reply via email to