Should engine be applying link or metadata to an LINEFEED (LF) character?

Trevor DeVore lists at mangomultimedia.com
Fri Nov 3 14:36:53 EDT 2017


On Wed, Oct 25, 2017 at 2:42 PM, Jim Lambert via use-livecode <
use-livecode at lists.runrev.com> wrote:

> As you noted, one gets:
> 10
>
> 90660
>
>
> Now select before char 1 of line 2 and hit the delete key, so that all the
> text is on line 1.
> Next hit the return key, so that the text is again on two lines and looks
> just as it did before.
> Next run:
> > put 15 into tChar
> > put charToNum(char tChar of field 1) & cr & the metadata of char tChar of
> > field 1
>
> Now you only get ’10’, no metadata!
>
> Check the htmltext and it’s identical to the original.
>
> Odd!
>

Thanks for the extra tests Jim. I’ve logged two bug reports about odd
behavior surrounding metadata/links when working with LF and vertical tabs.

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

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



-- 
Trevor DeVore
ScreenSteps
www.screensteps.com



More information about the use-livecode mailing list