Different result in LC 6 to LC 8 when copying field text into Excel?

Trevor DeVore lists at mangomultimedia.com
Sun Feb 5 20:43:59 EST 2017


On Thu, Feb 2, 2017 at 5:13 AM, Tiemo Hollmann TB via use-livecode <
use-livecode at lists.runrev.com> wrote:

> I have a standard scrolling list field with multiple lines of text. I copy
> the text by:
>
> *set the clipboarddata["text"] to fld "List"*
>
> The User now can past the text into MS Excel on Windows. With LC 6 the text
> was pasted into Excel line by line, as it showed up in LC. In LC 8.1.2 the
> text is pasted with an extra space line between each two lines.
>
> I checked the line ends in both versions. There is only one "LF"
> (byteToNum=10) at the end of each line and it looks the same in both
> versions.
>
> What has changed in LC 8 to cause such a different behavior? Is this again
> a
> Unicode thing what I don't understand? I already tried different
> clipboarddata keys, without success.
>

I wonder if this is related to the following bug where pasting into Notepad
strips all newlines. It would appear that LC 8 is having trouble putting
new lines on the clipboard properly.

http://quality.livecode.com/show_bug.cgi?id=17524

-- 
Trevor DeVore
Outcome & ScreenSteps
www.outcomeapp.io     -     www.screensteps.com



More information about the use-livecode mailing list