Bo Peng wrote:
> I think middle-button-paste should keep lyx formating, if this can be
> done properly, in terms of inter-application paste. Actually, I do not
> mind at all that xterms paste lyx selection with extra stuff like
> \begin{table}.

I would mind personally.

OK, we need internal selection for windows,

Yes.

we want internal selection
formated,

Yes.

and we do not really need to sync internal and external
selection.

and yes!

So, if it is not too difficult, feel free to put pure text
to external selection and formated text to the internal one.

That's exactly what I was trying to do. But we need some cleanup of CutAndPaste.C before achieving that. Georg is on it apparently (hopefully ;-)).


BTW, http://doc.trolltech.com/4.2/qclipboard.html says that we can put
Mime data to system clipboard. Can we unify our internal clipboard
buffers as system clipboard under differnt mime formats?

We could but this would mean that we have to parse the string (which would be in the LyX format) at each parse call. I prefer that we keep our Paragraph based memory structure for internal pasting. But IIUC we could use MIME types for pasting across multiple instance of LyX.

Abdel.

Reply via email to