Wrapping Text

Craig Newman craig at starfirelighting.com
Wed Jul 22 09:11:24 EDT 2020


What Klaus said is true, but this still all depends on the state of the “dontWrap” property. If “true” text will run on forever, regardless of whether a particular line contains spaces or not.

So what is the state of that property in your field?

Anyway, a little playing around with dontWrap will set you straight.

> On Jul 22, 2020, at 9:05 AM, Klaus major-k via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi Craig,
> 
>> Am 22.07.2020 um 14:56 schrieb Craig Newman via use-livecode <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>>:
>> 
>> Hi.
>> 
>> Sorry, it is "dontWrap", not "donttWrap".
>> The field is not truncating, except visually. The text runs out the right side of the field's visible extent. Setting the "dontWrap" to false will force the field to wrap the text. 
> 
> "dontwrap" or not, LC needs a SPACE in a word to wrap the text!
> No space = no wrapping!
> 
>> You must remember that this is not the same as adding carriage returns in the necessary places.
>> 
>> Craig
>> 
>>> On Jul 22, 2020, at 8:48 AM, Craig Newman via use-livecode <use-livecode at lists.runrev.com> wrote:
>>> Check out the “donttWrap” and “formattedWidth” properties. 
>>> Craig
>>> 
>>>> On Jul 22, 2020, at 5:55 AM, Terence Heaford via use-livecode <use-livecode at lists.runrev.com> wrote:
>>>> If you have a field with one long word that is wider than the field it does not wrap, it truncates.
>>>> Is there a solution to this?
>>>> 
>>>> 
>>>> Thanks
>>>> 
>>>> Terry
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://www.major-k.de <https://www.major-k.de/>
> klaus at major-k.de <mailto:klaus at major-k.de>
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com <mailto: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 <http://lists.runrev.com/mailman/listinfo/use-livecode>



More information about the use-livecode mailing list