On Jan 10, 2007, at 8:46 PM, Bennett Helm wrote:
On Jan 10, 2007, at 4:28 PM, Georg Baum wrote:
Am Mittwoch, 10. Januar 2007 10:39 schrieb Abdelrazak Younes:
This I agree is a good goal. I was afraid that you intended to
replaced
the internal Clipboard for all platforms. If that is not the case
then I
think this will be a very good contribution to 1.5 new Clipboard
functionality. An html formatted Clipboard would be nice also.
I cleaned the patch up and tested it a bit more. The clipboard
does now
only go through a file if lyx2lyx is used. I also removed some
debugging
stuff and put the remaining one in an if(debugging), because that
avoids
some string conversions (fromqstr() etc).
Bennet, do you see any speed improvement? BTW it is normal that
copy/paste
to/from other apps looses formatting. We are not using html on the
clipboard yet, I would prefer to wait with this until we use mime
types
for our formats.
I get what seems to be minor speed improvement. Cutting and pasting
an entire 110,000 word document, it's still on the order of 2
seconds (just under, perhaps) for cutting and 1 second (again just
under, perhaps) for pasting.
For more normal cut-and-paste operations, it's fast enough I don't
notice a time lag on my new Intel Mac.
I just noticed: although this new patch works within LyX, it does not
work pasting text from other applications: it either pastes the last
clipboard from within LyX or it says "Command disabled".
Bennett