Georg Baum wrote:
Am Mittwoch, 3. Januar 2007 15:01 schrieb Abdelrazak Younes:
Abdelrazak Younes wrote:
The mixing comes from the fact that cap::copySelection() fills in theClipboard(), independantly of the caller.

That is alright. Why do you think this should be changed?

See below.

I believe that cutSelection does already what you now added.

Not since I removed the clipboard fill-in from copySelection(). That's because cutSelection() is calling copySelection() which do the filling in without my patch.


Almost all of the remaining stuff looks wrong, too. Can't you simply fill the selection at the right time without touching LFUN_COPY?

Of course I can. But then it will not be possible to keep the LyX formatting.

It is still the same misunderstanding: you want to limit the X Selection to a single unformatted string and I want rich contents. Noted that as it is now, middle-mouse pasting will always keep the formatting because of the 'paste_internally' boolean. If you want to be coherent with yourself, we should get rid of that feature also and only use the X selection.

What do others think?

Abdel.






Georg



Reply via email to