styledText with undefined value

If you find an issue in LiveCode but are having difficulty pinning down a reliable recipe or want to sanity-check your findings with others, this is the place.

Please have one thread per issue, and try to summarize the issue concisely in the thread title so others can find related issues here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 791
Joined: Wed Nov 22, 2006 3:42 pm
Location: France

styledText with undefined value

Post by Thierry » Tue Mar 24, 2020 10:42 am


Stressing my code which translate a LC field to a pure CSS/HTML5,
I find when testing against the backgroundLiveScript from the IDE an
"undefined" value for the textstyle key.
Next is a dump of the culprit part of the styledText array:

runs and htmltext.png

Then a hex dump of the text part:

hexDump-text field.png

So, nothing seems wrong in the original text
plus that's the only place I found an unexpected value.

The final resulting html5 is fine too - a screenshot of Safari:

Safari bglcscript.png

Take care of yourself and your relatives,

Regex LiveCode sunnYrex

Post Reply

Return to “Bug Triage”