japino wrote:When pasting into the receiving app I get plain text but the line spacing is too big.
When I paste into BBEdit and then copy again, the type reported is "text" and the text gets pasted into the receiving app with normal line spacing.
Ah, now we're getting good actionable details. Thanks for that additional info.
I wrote a support rep on this, and was advised to consider three things:
1. Try LC v8.1.7
This new build was released just this morning, and includes a number of changes to clipboard management. It may or may not fix this one, but at least will provide good assessment of the current state of the engine.
2. Try the fullClipboardData instead of the clipboardData.
The former is a much newer structure and more complete than the older clipboardData. Indeed, there was much discussion about extending the older clipboardData, but backward compatibility made that problematic, so fullClipboardData was created as a more modern option which may be ideal for new code going forward.
3. File a bug report
Since the older clipboardData is maintained for backward compatibility, it should ideally retain its original functionality. There may be good reason for the change you're seeing, and once submitted to the QA system the team will have an opportunity to review it. Please include a sample stack that shows the issue, with a recipe for using it which will help them observe the result. But reports can be submitted to
http://quality.livecode.com/