non-breaking spaces in fields?

Ralph DiMola rdimola at evergreeninfo.net
Thu Sep 24 17:04:24 EDT 2015


The LC field object has always(since LC 5 anyway) respected non-breaking
spaces (ascii 160). But in pre LC v7 the word chunk does not recognize
non-breaking spaces.

LC pre v7 (put word 1 of "abc"&numtochar(160)&"def") yields "abc def"

LC 7.06 (put word 1 of "abc"&numtochar(160)&"def") yields "abc"

Just another reason to let go of LC 6 completely. But just like my keyboard,
I find it hard to let go.

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net


-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Dr. Hawkins
Sent: Thursday, September 24, 2015 4:32 PM
To: How to use LiveCode
Subject: non-breaking spaces in fields?

I have fields in which I need non-breaking spaces.  I've found that a bunch
of spaces can be omitted in rendering if they occur at the beginning of a
line.  (these are fixed fields, with another field holding a value).

Is there a way without setting html text to do this?

thanks


--
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list