If I had to guess I'd say that the clipboard contains CRs and LFs for each single line break, and other software is interpreting this as 2 line breaks. Setting the clipboard data ["text"] *decodes* it so to speak. When I copy code and paste it into my email program (Apple Mail) it does the double line thing, but if I paste it first into a text only editor then copy/paste it into my mail program it's fine. That tells me that the text editor is handling the cr/lf condition like you would expect, and Apple Mail isn't.
Bob S > On Sep 30, 2017, at 23:41 , Michael Julian Lew via use-livecode > <[email protected]> wrote: > > Excel doesn't like the line endings that Livecode puts into the > clipboardData["text"] and renders the lines as if they were double spaced. > > I have asked once before what magic wand to wave to fix the problem, but I > forgot the answer and googling was entirely unsuccessful (although I found > that there are lots of articles about the strangeness of the Excel > clipboard). Can someone remind me? > > Michael Lew > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
